Free Web Hosting Forum
Go Back   Free Web Hosting Forum > Website Building > Web Programming
Reload this Page Anyone knows how to use WebMail to send email in PHP script?
Reply

 

Thread Tools Display Modes
(#1 (permalink))
Old
konglong_1984's Avatar
Junior Member
konglong_1984 is on a distinguished road
 
Posts: 17
Join Date: Aug 2008
Default Anyone knows how to use WebMail to send email in PHP script? - 10-16-2008, 03:15 AM

Hi all,
I was trying to use:
Quote:
mail($email, $subject, $message);
to send a email, but the server responds this:
Quote:
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()
I know 000webhost added WebMail, this very userful feature these days.
But could anyone tell me how to use the WebMail I created to send emails in PHP please?
Thanks!

Last edited by konglong_1984 : 10-16-2008 at 03:17 AM.
Reply With Quote
(#2 (permalink))
Old
Senior Member
s.j.hebert is on a distinguished road
 
Posts: 247
Join Date: Aug 2008
Default 10-16-2008, 06:04 PM

It looks OK. Have you submitted a ticket to support? See also http://w3schools.com/php/php_mail.asp
Reply With Quote
(#3 (permalink))
Old
konglong_1984's Avatar
Junior Member
konglong_1984 is on a distinguished road
 
Posts: 17
Join Date: Aug 2008
Default 10-17-2008, 11:10 AM

yeah, i should probably submit a ticket.
it worked before "WebMail" came out.
anyway, thanks!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com