Email Configuration / Unable To Send

Posted on 2024-06-21

In order to configure the send email feature in Ramom School navigate to Settings->School Settings->Email Settings.


Email Protocol

PHP Mail, SMTP Mail(PHPMailer).

It’s highly recommended to configure the SMTP(PHPMailer) protocol for sending emails. Setting up SMTP (Simple Mail Transfer Protocol) for email involves configuring your email client or application to send emails using an SMTP server. Here’s a general guide on how to set it up:


Configuration for Server Email SMTP

  • SMTP Host: yoursmtphost.com
  • Port: 587 (TLS) or 465 (SSL)
  • Username: Your full Email address
  • Password: Your Email password
  • Encryption: STARTTLS (TLS) or SSL/TLS

Email Encryption

  1. SSL – Select if you are configuring SMTP with port 465
  2. TLS – Select if you are configuring SMTP with port 587
  3. None – Select if you are configuring SMTP with port 25

SMTP Host
Enter your SMTP hostname. Example: smtp.example.com

SMTP Port
Enter your SMTP port

Do not mix this email configuration, e.g. Encryption set to SSL on port 587 or TLS on port 465 will not work.

SMTP Username
If you are using an email service provider like Gmail, Outlook, Yahoo, etc, the SMTP username is usually your full email address (e.g. [email protected]).


SMTP Password

Fill the password for login, you should already know your password.


Configuration for Gmail SMTP

  • SMTP Host: smtp.gmail.com
  • Port: 587 (TLS) or 465 (SSL)
  • SMTP Username: Your full Gmail address
  • SMTP Password: Your Gmail password
  • SMTP Auth: Yes

If you are using your Google Account password to connect to SMTP, it’s highly recommended to update your password with an App Password to avoid any email sending disruptions, find more information on how to generate App Password for your Google Account at the following link: https://myaccount.google.com/apppasswords


Common Issues

  • Connection Errors: Check network connectivity and firewall settings.
  • Authentication Failures: Verify username, password, and authentication method.
  • Encryption Issues: Ensure proper TLS/SSL configuration.
  • Port Restrictions: Confirm port availability and any ISP restrictions.
  • SMTP Server Blacklisting: Check if your SMTP server's IP or domain is blacklisted.
  • Email Client Misconfigurations: Double-check settings in email clients or control panels.

If your email is still not being sent after confirming all of the above, we strongly recommend  you contact your hosting provider, In most cases the problem is related to your server configuration. Example: DNS failure, firewall blocking, hosting provider blocking outbound connections, etc. So in this case, only your hosting provider can help you!

* Sometimes it appears that the emails are sent but it is found in the Spam folder, you can also check the Spam folder.


You can also check the following URLs to know more about PHPMailer error:

https://github.com/PHPMailer/PHPMailer/issues/295#issuecomment-155147551

https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Found this article helpful?

[ 0 Out of 1 Found Helpful ]

Still no luck? we can help!

Submit a ticket and we’ll get back to you as soon as possible.