Home > > Nice post. but when i tried on my application, …

Nice post. but when i tried on my application, …

September 9th, 2010 admin
Number of View :17616

Comment posted on phpmailer for codeigniter (ci) by fachran

nice post.
but when i tried on my application, it’s still not send anything to yahoo account.

no meesage sent on yahoo account…

do you know what the problem??
thanks…

powered by SEO Super Comments

Popularity: unranked [?]

  • Share/Bookmark
Categories: Tags: , , , , , ,
  1. Dharmendra Kaswan
    August 21st, 2009 at 13:19 | #1

    A PHP Error was encountered

    Severity: Warning

    Message: fsockopen() [function.fsockopen]: unable to connect to ssl://smtpdomain.com:444 (Unable to find the socket transport “ssl” – did you forget to enable it when you configured PHP?)

    Filename: plugins/class.smtp.php

    Line Number: 121

    Mailer Error: SMTP Error: Could not connect to SMTP host.

    If i dont use “$mail->SMTPSecure = “ssl”;” (in core php test) it works fine.

    Any Help?

    lavluda Reply:

    looks like your mail server don’t need ssl, so just comment it . :)

  2. Bappy
    September 20th, 2009 at 12:03 | #2

    I am getting this error vaia
    can u help me out here?
    “Mailer Error: SMTP Error: Could not connect to SMTP host.”

  3. rosnovski
    October 6th, 2009 at 06:54 | #3

    Your solution was perfect for me. I cannot thank you enough for this. Don’t know if you are a God believing man but God Bless you anyway.

    PS: HE will you know.

    Keep them solutions coming dude.

    lavluda Reply:

    it really nice to hear that my solution worked for you. thanks for comment, this type of comment helps me to work for community.

    btw, i believe in god :)

  4. Bappy
    October 7th, 2009 at 23:36 | #4

    It doesn’t work me bro
    can you help me?
    “Mailer Error: SMTP Error: Could not connect to SMTP host.”

    lavluda Reply:

    hi, did you configured it correctly ?
    $mail->IsSMTP();
    $mail->SMTPAuth = true; // enable SMTP authentication
    $mail->SMTPSecure = “ssl”; // sets the prefix to the servier
    $mail->Host = “smtp.gmail.com”; // sets GMAIL as the SMTP server
    $mail->Port = 465; // set the SMTP port

    $mail->Username = “username@somedomain.com”; // GMAIL username
    $mail->Password = “xxxxxx”; “

  5. Bappy
    October 9th, 2009 at 00:34 | #5

    thank u for replying vaia .
    yes i did .
    i uncommented it, and changed the last two fields
    still getting error! :(
    can there be any error because of CI version?

  6. rajesh
    March 3rd, 2010 at 11:10 | #6

    HI,
    i jaust want to know how we receive email in codeigniter?

    lavluda Reply:

    @rajesh, check this http://codeigniter.com/wiki/imap_pop_class/

    rajesh Reply:

    hi lavluda thnaks a ton.

  7. Johnray
    March 23rd, 2010 at 03:16 | #7

    Great Work! Thanks for posting. It really helped me. Thanks a lot!

  8. July 29th, 2010 at 10:45 | #8

    nice post.
    but when i tried on my application, it’s still not send anything to yahoo account.

    no meesage sent on yahoo account…

    do you know what the problem??
    thanks…

Comments are closed.