Welcome Guest, Not a member yet? Register   Sign In
installing PHPmailer in CI2 third_party folder
#1

hello everyone

I coded my website to send emails using the default mail() function.It worked even with html format emails until a day ago that i recieved the error message:
Unable to send email using PHP mail(). Your server might not be configured to send mail using this method. What can possibly be the problem? I need your help please. I'm also considering using PHPmailer or any other third party mailer yet i don't know how to install it. Thanks in advance for your help.
Reply
#2

You could try one of my tutorials: http://avenir.ro/codeigniter-swift-mailer-composer/

The same principle applies for PHPMailer.
Reply
#3

As far as why you can't send mail, I'd check with your host to see if anything changed. Perhaps they performed an upgrade or something.

Here's a codeigniter email PHPMailer integration, which overrides CI's default mail functionality. Uses the same CI mail methods as a drop in replacement.

https://github.com/ivantcholakov/codeigniter-phpmailer
Reply
#4

(This post was last modified: 07-08-2015, 02:57 PM by rooye.)

(07-06-2015, 10:51 AM)CroNiX Wrote: As far as why you can't send mail, I'd check with your host to see if anything changed. Perhaps they performed an upgrade or something.

Here's a codeigniter email PHPMailer integration, which overrides CI's default mail functionality. Uses the same CI mail methods as a drop in replacement.

https://github.com/ivantcholakov/codeigniter-phpmailer

Thanks for the suggestion.however,I see that i need some parameter such as SMTP Username and passwd.Am not sure of were to get that.I used the credentials of an email account i created on my domain but authentication failed.so too with my own gmail account.Am still battling and need your help.Thanks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB