Jump to content

help i couldnt send mail by php ....


dragonloong

Recommended Posts

dis is my coding ...

 

<?php

mail("[email protected]", "Hello World", "Hi, world. Prepare for our arrival. We're starving!");

?>

 

but after i load it in my browsers...

it showed below....

 

Warning: mail(): SMTP server response: 530 5.7.0 Must issue a STARTTLS command first a8sm4714968poa in c:\program files\easyphp1-8\www\new folder\firstmail.php on line 2

 

 

now the problem is i dun hav receive a mail  ....

pls help me to solve the prob....

i dunno wat i hav done wrong ....

Link to comment
https://forums.phpfreaks.com/topic/47019-help-i-couldnt-send-mail-by-php/
Share on other sites

erm....

do u know how to make mail setting in php.ini file ...

 

i jus edit my

SMTP = smtp.gmail.com

 

and other line i,i didnt edit...

 

but i reference from book...

smtp_post

sendmail_from

sendmail_path

 

should b modify...

but i dunno how to modify it ...

do u know ?

 

Well theres yurx.com thats what I use, but it requires you to go in forum and post, you can get an okay plan for 0 post, a decent plan for 35 points (i think) and a good plan for 100 post.

 

If you decide to use feel free to put me in the box who says who refered you.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.