tricking list serve...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bg
Forum Contributor
Posts: 157
Joined: Fri Sep 12, 2003 11:01 am

tricking list serve...

Post 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?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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.
bg
Forum Contributor
Posts: 157
Joined: Fri Sep 12, 2003 11:01 am

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

then it generally should be fine.. unless your syntax is wrong..
Post Reply