Originally posted by: bob4432
i have access to the php ini file and tried to put my isps info in, but it doesn't work. i can setup up a regular mail server and i can send mail out this way, but not with php. any other ideas?
Originally posted by: Zugzwang152
Originally posted by: bob4432
i have access to the php ini file and tried to put my isps info in, but it doesn't work. i can setup up a regular mail server and i can send mail out this way, but not with php. any other ideas?
do you know if your ISP requires SSL encryption or anything? this is a pretty straight forward set up so you probably have put in wrong information into php.ini.
Originally posted by: Cerebus451
If you have PEAR installed (and most recent versions of PHP have most of PEAR installed by default) there is a Mail package that allows you to specify the SMTP server to use on each call. I have used this on my own web site without any difficulty. Also, you might have problems with your ISPs SMTP server because they are typically locked down pretty tight to prevent spammers from turning them into zombies. Alot of SMTP servers get set up to require you to do a POP check first before allowing a send request, thus ensuring that the only people that can send mail are people that have e-mail accounts.
Originally posted by: Cerebus451
If you have PEAR installed (and most recent versions of PHP have most of PEAR installed by default) there is a Mail package that allows you to specify the SMTP server to use on each call. I have used this on my own web site without any difficulty. Also, you might have problems with your ISPs SMTP server because they are typically locked down pretty tight to prevent spammers from turning them into zombies. Alot of SMTP servers get set up to require you to do a POP check first before allowing a send request, thus ensuring that the only people that can send mail are people that have e-mail accounts.
Originally posted by: bacon333
From my experience, when the ini file didn't work i used init_set
http://www.php.net/manual/en/function.ini-set.php
You can set the smtp there.