Email without login

Once you've installed phpList Version 2... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation. This is for Version 2 of phpList (the orange one).

Email without login

Postby varsang » 8:52pm, Tue 14 Sep, 2010

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
varsang
phpLister
 
Posts: 12
Joined: 4:18am, Thu 25 Feb, 2010
Location: New Jersey, USA

Re: Email without login

Postby duncanc » 8:57pm, Tue 14 Sep, 2010

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.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: Email without login

Postby varsang » 4:37am, Sun 03 Oct, 2010

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.
varsang
phpLister
 
Posts: 12
Joined: 4:18am, Thu 25 Feb, 2010
Location: New Jersey, USA

Re: Email without login

Postby duncanc » 7:46am, Sun 03 Oct, 2010

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
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: Email without login

Postby varsang » 9:26pm, Fri 08 Oct, 2010

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?
varsang
phpLister
 
Posts: 12
Joined: 4:18am, Thu 25 Feb, 2010
Location: New Jersey, USA

Re: Email without login

Postby duncanc » 7:23am, Sun 10 Oct, 2010

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.
duncanc
Moderator
 
Posts: 2440
Joined: 6:34am, Sat 08 May, 2010
Location: London

Re: Email without login

Postby davideoz » 3:46pm, Fri 13 Jan, 2012

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?
davideoz
phpList newbie
 
Posts: 2
Joined: 10:43am, Tue 10 Jan, 2012

Re: Email without login

Postby rakhitha » 5:44pm, Wed 22 May, 2013

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
rakhitha
phpList newbie
 
Posts: 1
Joined: 5:39pm, Wed 22 May, 2013


Return to Question & Problems - after installing

Who is online

Users browsing this forum: No registered users and 4 guests