dcsimg
www.webdeveloper.com
Results 1 to 7 of 7

Thread: Error with sending email

  1. #1
    Join Date
    Sep 2013
    Posts
    3

    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: ali@uparrowconsulting.com” . 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 = ‘ali@uparw.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….......:|

  2. #2
    Join Date
    Feb 2012
    Location
    Tallahassee, FL
    Posts
    283
    What is the exact error it gives?

  3. #3
    Join Date
    Sep 2013
    Posts
    3
    mail not send and it show error

  4. #4
    Join Date
    Feb 2012
    Location
    Tallahassee, FL
    Posts
    283
    What is the error? What does it say?

  5. #5
    Join Date
    Mar 2013
    Location
    Iasi, Romania
    Posts
    53
    Why don't you use SMTP mailer?
    Example here

  6. #6
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    2,589
    ssdog, this forum has plenty of examples of using send mail() readily available.
    If your post falls off the page, bump it. ...
    Please remember to wrap any code you have in forum tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...

  7. #7
    Join Date
    Sep 2013
    Posts
    3
    I used stmp also but it only send in domain mail. When i add gmail it not sending mail.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles