Page 1 of 1
send mail by another smtp server
Posted: Sun Dec 01, 2002 5:26 am
by navid
hi all
i have 2 website.
i want send mail to website1 by website2's smtp server.
but mail() function cannot set smtpserver.
how can i send mail another mail server.
___________________________
sorry for my poor english
Posted: Sun Dec 01, 2002 6:49 am
by volka
http://www.php.net/manual/en/ref.mail.p ... figuration states that the configuration parameters for mailing are PHP_INI_ALL, so you should be able to set them via
ini_set() before calling
mail()
Posted: Mon Dec 02, 2002 10:45 pm
by navid
hi volka
thanks,i can send mail by another smtpserver.
but the mail server don't get password.
i want to get password when i connect to mailsserver.
Posted: Mon Dec 02, 2002 10:57 pm
by volka
uh? get a password?
Sorry, somehow I miss the point

Posted: Tue Dec 03, 2002 2:31 am
by navid
hi volka
Plaese accept my apologize about my fault.
I can send mail by another smtpserver.
but the mail server don't get password.
I want to be got password when I connect to mailsserver.
___________________________
sorry for my poor english
Posted: Tue Dec 03, 2002 5:33 am
by volka
if you have to authenticate before the smtp-server accepts your mail request, we're back at
viewtopic.php?t=4614 which you haven't answered by now
