Skip to content

SMTP Issues on Website

0

I recently made my website live and I noticed that I am having issues with my email connecting to my website. My email is connected to the contact form on my website and it is set up so that admin notifications are sent to that email whenever a user fills out a form. I have not been receiving the admin notifications every time a user fills out a form. I believe this may be an SMTP issue and I do not know how to fix it.

Would anyone know how I can fix this issue on my AWS dashboard? Or is there a WordPress plugin that can resolve this issue?

asked 2 years ago240 views

2 Answers
1

Hello.

Is your website's email sending port port 25?
AWS restricts the use of port 25, so you need to apply to remove the restriction by following the steps in the document below.
https://repost.aws/knowledge-center/ec2-port-25-throttle

Also, as re:Post Agent answers, if you only need to send emails, I think you should consider using Amazon SES.

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

0

Based on the information provided, it sounds like you're experiencing an SMTP (Simple Mail Transfer Protocol) issue with your website's contact form. This is a common problem that can occur for several reasons when using AWS services. Here are some potential solutions and things to check:

  1. AWS SES (Simple Email Service) Configuration: If you're using AWS SES for sending emails, ensure that it's properly configured. SES starts in a sandbox mode for new accounts, which limits you to sending emails only to verified email addresses or domains. You may need to request to move out of the sandbox mode if you want to send emails to unverified addresses.

  2. SMTP Credentials: Double-check your SMTP credentials (username and password) in your website's configuration. Make sure they match the credentials generated in the AWS SES console. Also, ensure that the AWS region you're using in your website matches the region where you created the SES credentials.

  3. EC2 Port 25 Throttle: If your website is hosted on an EC2 instance, be aware that AWS throttles outbound traffic on port 25 by default. This can prevent sending emails directly via SMTP. You have two options to resolve this: a) Apply to AWS to have the port 25 throttle removed for your account. b) Use AWS SES SMTP interface on port 587 or 2587 instead.

  4. Authentication Method: Ensure your application is using the correct authentication method when connecting to the SMTP server. If you're getting an authentication error, it might be because your SMTP credentials were created before January 10, 2019, and are using an older signature version. In this case, you may need to create new SMTP credentials.

  5. WordPress Plugin Solution: If you're using WordPress, you can try using an SMTP plugin to help resolve email delivery issues. Popular options include:

    • WP Mail SMTP
    • Easy WP SMTP
    • Post SMTP Mailer/Email Log

These plugins can help you configure and test your SMTP settings, and some offer integration with various email services, including AWS SES.

Remember to test your email configuration thoroughly after making any changes. If issues persist, you may need to review your AWS account settings or contact AWS support for further assistance.

Sources
SMTP -> ERROR: Failed to connect to server: Connection refused (111) | AWS re:Post
AWS SES SMTP not working | AWS re:Post
Website not sending outgoing emails | AWS re:Post
Error sending mail using AWS SES | AWS re:Post

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.