How to use smpt relay ?

How to use smpt relay ?

by Clément Prudhomme -
Number of replies: 1
Picture of Plugin developers Picture of Testers

Hello,

 

I looked for information about how to use smtp relay with moodle. I need help to understand well. Until today, I use my server to send email. It's working fine but I have some troubles with limitation day.

 

That'why I like to use a provider like "sendgrid", "mandrill", "mailjet", etc. My goal is to use one SMTP provider to send emails. I made test and :

 

- Case 1 With GMAIL :  SMTP settings are working fine. I followed this documentation : http://docs.moodle.org/24/en/Email_setup_gmail. Email are well sent.

- Case 2 : WIth an other provider (Mailjet, mandrill) : no email are sent. I check my log and I see only one thing different between case 1 and case 2 at the end of the  log. Here is a capture :

 

Mail seems to be "queued" but I don't understand why. I just change settings in "Settings > Site administration > Plugins > Message outputs > Email"

Do we need to make more modification to use SMTP ? 

 

Best regards.

 

Clément

 

 

 

 

 

 

 

 

Average of ratings: -
In reply to Clément Prudhomme

Re: How to use smpt relay ?

by Clément Prudhomme -
Picture of Plugin developers Picture of Testers

Hi,

 

Sorry for my question. I just find the answer. I need to configure "Support Contact Page" with an email from my domain. Now, it's working fine. To sum up :

- Choose a STMP relay provider

- Add certificate FPD / DKMI to your domain.

- In moodle : 

1/ Change SMTP setting (Settings > Site administration > Plugins > Message outputs > Email")

 

AND

2/ Change Administration>Server>Support Contact. In my case, I use an email (for example @toto.com) different than my domain (for example www.tata.com).  Since I changed email and used an email from my domain, mails are available.

 

Best regards. 

Average of ratings: Useful (2)