Page 1 of 1

tricking list serve...

Posted: Wed Feb 09, 2005 11:45 am
by bg
I have a client that has a list serv we host for them. They want people to be able to sign up for the list via their website with a text box where they just enter their email address and type submit. The list serv is set up to add users who email the list serv addy with the subject line "subscribe". Ultimatly, this email is being sent from php's mail() function. Ive tried playing with the headers, specifically Reply-To: and From: using the email address entered for both but the list serve still does not add that address to the, it adds www@the-domain.com. Is there a way to trick the list serv into thinking its sent from their address, or do they have to mail it directly?

Posted: Wed Feb 09, 2005 11:47 am
by feyd
might require setting the internal 'from' in php itself.. ini_set() had details

or read here: http://php.net/mail


Moved to PHP - Code.

Posted: Wed Feb 09, 2005 11:54 am
by bg
feyd wrote:might require setting the internal 'from' in php itself.. ini_set() had details

or read here: http://php.net/mail


Moved to PHP - Code.
sendmail_from string

Which "From:" mail address should be used in mail sent from PHP under Windows.
I'm running on a FreeBSD server, so the sendmail_from directive doesnt seem to apply to me.

Posted: Wed Feb 09, 2005 12:03 pm
by feyd
then it generally should be fine.. unless your syntax is wrong..