Page 1 of 1

Email without login

PostPosted: 8:52pm, Tue 14 Sep, 2010
by varsang
I was wondering if PHPList is capable of creating a mailing so that users can email to an email that can forward the email to that mailing list.

For example:

A user sends an email from his personal email - john@gmail.com to marketingmailinglist@domain.com. All the members that are part of marketingmailinglist@domain.com can then receive the email.

Thank you in advance

Re: Email without login

PostPosted: 8:57pm, Tue 14 Sep, 2010
by duncanc
There is a plugin mail2list that I think does what you are describing
http://docs.phplist.com/MailToList

I suggest you look through the docs and the forums to see how well it works and any drawbacks.

Re: Email without login

PostPosted: 4:37am, Sun 03 Oct, 2010
by varsang
I am having some trouble installing the plugin.

Under the instructions, it says to enable the default plugin. How can I do that?

Another question is, what do you put for the file path.

Thanks for you help.

Re: Email without login

PostPosted: 7:46am, Sun 03 Oct, 2010
by duncanc
See the section on plugins in the config file http://docs.phplist.com/PhpListConfiguration

The file path is specified in your config file as well

Code: Select all
# the attachment repository is the place where the files are stored (if you use
# ALLOW_ATTACHMENTS)
# this needs to be writable to your webserver user
# it also needs to be a full path, not a relative one
# for secutiry reasons it is best if this directory is not public (ie below
# your website document root)
$attachment_repository = '/tmp';


but it is probably safer to change that to be a directory under your own user account instead of a public directory, e.g. /home/xxxxx/tmp

Re: Email without login

PostPosted: 9:26pm, Fri 08 Oct, 2010
by varsang
Thanks. I was able to setup the plugin.

Now I am sending an email from a personal email to the email address entered in the plugin and I am getting the following error.


Processing list 'test'
-----------------------------

Status of pop3 connection: Connected


Processed message 1 of 1 with error!

myemail@gmail.com could not be found on the whitelist!
He/she will be sent a notification.

No emails where sent to "the mailing list".

How can I whitelist?

Also, how can you auto process new emails? Can Cron Job do that?

Re: Email without login

PostPosted: 7:23am, Sun 10 Oct, 2010
by duncanc
I have not actually used the plugin so cannot advise on the problems. If you have not already done so, look through the forump topic viewtopic.php?t=8363 to see issues that others have raised.

Re: Email without login

PostPosted: 3:46pm, Fri 13 Jan, 2012
by davideoz
Hi varsang,
have you solved the whitelist problem?
I have the same problem, I'm wasting a lot of time to solve it, but I didn't found the solution yet..

can you help me?

Re: Email without login

PostPosted: 5:44pm, Wed 22 May, 2013
by rakhitha
change following code in get_email.class.php to fix "could not be found on the whitelist! He/she will be sent a notification." problem.

line 632
change

Code: Select all
$req = Sql_Query("SELECT * FROM "  . $GLOBALS['table_prefix'] . "mail2list_allowsend WHERE email='".$email['FROM_EMAIL']."'");


to

Code: Select all
$req = Sql_Query("SELECT * FROM "  . $GLOBALS['table_prefix'] . "mail2list_allowsend WHERE UPPER(email)=UPPER('".$email['FROM_EMAIL']."')");


so the sender address is non case sensitive

also

line 634

change

Code: Select all
if ($whitelistcheck['name'] == ""){


to

Code: Select all
if ($whitelistcheck['email'] == ""){


so that even with empty names it will recognize the address in the white list

this worked for me