Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => Mail

Setting Mail

the mail() function

Moderators: macek, egami, gesf

Setting Mail

Postby planketa » Thu Jun 10, 2004 8:29 pm

Guys, I forgot how to setup the mail function in PHP, i get errors like headers already sent, and an error that i cant understand becauses it is in bold and text overlaps, its like a line of text and another line of text above it. Do i have to modify the php.ini?

Thanks.
User avatar
planketa
New php-forum User
New php-forum User
 
Posts: 152
Joined: Mon Mar 08, 2004 12:29 am
Location: Philippines

Postby ruturajv » Sun Jun 13, 2004 7:54 pm

yes, you need to check your php.ini file,

check the Install.txt with php distribution, pretty neat explanation.
also check the php.ini file itself it does give a neat eg.
User avatar
ruturajv
php-forum Super User
php-forum Super User
 
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India

Postby planketa » Sun Jun 13, 2004 9:24 pm

Thanks man.

Guys, this is the error.

Warning: mail(): SMTP server response: 550 5.7.1 Unable to relay for adbctf@adb.org in c:\inetpub\wwwroot\training\email_inquiryform.php on line 68

Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\training\email_inquiryform.php:68) in c:\inetpub\wwwroot\training\email_inquiryform.php on line 70

As I can remember i have to edit the php.ini file SMTP server i guess.

Thanks
User avatar
planketa
New php-forum User
New php-forum User
 
Posts: 152
Joined: Mon Mar 08, 2004 12:29 am
Location: Philippines


Return to PHP coding => Mail

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.