Emailing not working

Permalink
I have installed Concrete5 on my LAMP server and the emailing is not working. For PHP programs in the past, I needed to use a email class.

Where can I examine the emailing php code in case a change is needed?

Many thanks...

Todd

rtcary
 
adajad replied on at Permalink Reply
adajad
What does your c5 log say? Do you have "Default PHP Mail Function" as SMTP set in c5? I guess you do since you asked about the php mail() function...

Check out your php.ini and make sure you have the correct settings in there. Do you have permission to send emails from your server (that is, is port 25 open)? Is it possible the emails are stuck in junk mail?

What happens if you use an external SMTP instead? You can test with gmail and see if that makes a difference. Try the settings below:

Mail Server: smtp.gmail.com
Username: your_address@gmail.com
Password: ********
Encryption: TLS
Port: 587
rtcary replied on at Permalink Reply
rtcary
Since this is the VERY First time I have had contact with Concrete5, I am having to shift my orientation from writing all of the php code to using an application written by someone else.

On all of my application that us email, I use phpmailer(). Though I am SysAdmin on the server (it is mine), I do not use the built in application. As I recall, I have had problems with it some years ago.

Is there a way to use phpmailer() with Concrete5? It has never given me a problem on my server or on my clients.

The log table shows

**EMAILS ARE ENABLED. THIS EMAIL WAS SENT TO mail()**



Todd
rtcary replied on at Permalink Reply
rtcary
Where do I set these in C5?

Mail Server: smtp.gmail.com
Username: your_address@gmail.com
Password: ********
Encryption: TLS
Port: 587

My php emailer class works perfectly.

Todd