i have set up a feedback form that emails the results. my web host says it will not work if the email is coming from nobody. this is their answer "you are just going to have to learn to tell your scripts to generate th emails as someone@yourdmain - not just as nobody." does anyone know how to make this happen?
Quinonez wrote: > i have set up a feedback form that emails the results. my web host > says it will not work if the email is coming from nobody. this is > their answer "you are just going to have to learn to tell your > scripts to generate th emails as someone@yourdmain - not just as > nobody." > does anyone know how to make this happen? By using the fourth argument of the mail() function to send a "From: someone@yourdomain" header. See: http://www.php.net/manual/en/function.mail.php JW
how would i set this up?
On 17 Dec 2004 08:15:54 -0800, Quinonez <quinonez@gmail.com> wrote: > how would i set this up? > Nothing to set up, just include the from argument: mail('to email', 'subject', 'message', 'From: yourstruly@yourdomain.com'); -- Thomas SELECT date FROM wife WHERE bitching = '0' AND sex = '1'
ive set this up like so <? mail("quinonez@gmail.com", "subject", "my message", "From: webmaster@masterscommissioneurope.com\r\n"); ?> but im still not recieving the emails..... the host says its because it has to be SENT from an address on the server...wouldnt this make that possible?
Is the server masterscommissioneurope.com? Mark
yea i got it ....thanks