Nice post. but when i tried on my application, …
September 9th, 2010
Number of View :17615
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 [?]
No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
Categories: ci, codeigniter, mail, PHP, php5, phpmailer, Programming
I am S. M. Ibrahim lavlu aka lavluda working as web application developer, SEO, server security and optimization, apps scaling consultant from dhaka, bangladesh. On my free time i like to pass my time for opensource projects.




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:
August 28th, 2009 at 10:44 pm
looks like your mail server don’t need ssl, so just comment it .
I am getting this error vaia
can u help me out here?
“Mailer Error: SMTP Error: Could not connect to SMTP host.”
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:
October 6th, 2009 at 9:51 pm
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
It doesn’t work me bro
can you help me?
“Mailer Error: SMTP Error: Could not connect to SMTP host.”
lavluda Reply:
October 8th, 2009 at 1:52 pm
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”; “
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?
HI,
i jaust want to know how we receive email in codeigniter?
lavluda Reply:
March 3rd, 2010 at 11:29 am
@rajesh, check this http://codeigniter.com/wiki/imap_pop_class/
rajesh Reply:
March 3rd, 2010 at 2:55 pm
hi lavluda thnaks a ton.
Great Work! Thanks for posting. It really helped me. Thanks a lot!
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…