Error with sending email
I got problem in email send. When i use domain email in my php script i got mail but when i use gmail it not send and it show error.
Here is code url : http://pastebin.com/XTCB3mch
In line number 81 : $headers = “From: firstname.lastname@example.org” . PHP_EOL;
When i change it to gmail id it show error. What is the solution.
I also try PHPmailer Here is code url : http://pastebin.com/BaDVLxch
Line number 30 : $mail->From = ‘email@example.com’;
Same Problem is here also. If I change it gmail or other ac mail not sending. But if i use domain mail mail sending well.
Need Some Help….......:|
What is the exact error it gives?
mail not send and it show error
What is the error? What does it say?
Why don't you use SMTP mailer?
I'm sorry I keep looking at your chest while you're talking. It's just so beautiful. What is it, oak?
ssdog, this forum has plenty of examples of using send mail() readily available.
... and please remember to wrap code with forum BBCode tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
I used stmp also but it only send in domain mail. When i add gmail it not sending mail.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread