mail function or SMTP not working...

Status
Not open for further replies.

yfc3480

New Member
Messages
13
Reaction score
0
Points
0
hi guys i have a big problem... i check the server status http://forums.x10hosting.com/showthread.php?t=13706 to see the SMTP server status.... the images shows that the server is fine but right until now im not recieving any email from the script... im wondering wether my scripts or the server is the reason why im not recieving emails yet. this is the code i used


<?php
$to = "kirakuchi43@yahoo.com

$from = "support@yfc-circle.tk";
$title = "$to! Your Registration is done!";
$body = "\n
Dear $_GET[name]\n
this just a test";

mail($to,$from,$title,$body,
"From:$from\r\nReply-To:support@yfc-circle.tk");

?>



please tell me whats wrong.... but i have another question.... you see, my site depend in SMTP because of registration confirmation... and i know that the server have lots of SMTP server downs(because of the damn spammers!! :mad:). i understand the dificulty of allowing the SMTP on.... and i really appreciate it! :biggrin:
so im wondering if you could tell me the script to know the SMTP server status... so i can manage if the server is down or something.... i hope you can help me guys! i know you can do it... more power x10hosting!!!!!
 

Micro

Retired staff <i> (11-12-2008)</I>
Messages
1,301
Reaction score
0
Points
36
Set up your script to use an smtp server instead, tell me your email address (Ill send you a gmail invite), and use the following:

Address: smtp.gmail.com Port: 465

Username: yourgmailaddy@gmail.com
Password: yourpassword

and it should now send emails through gmail :)
 

cetutnx1

New Member
Messages
510
Reaction score
0
Points
0
I don't know much... but i'll tell you that you setup phpmailer class and then you can use an other smtp as Micro says... i don't know the smtp server of yahoo... if you can find it then you can use it...
 
Status
Not open for further replies.
Top