Help Center > > FAQs> ECS Management> Usage Errors> What Should I Do If Emails Configured on an ECS Cannot Be Sent?

What Should I Do If Emails Configured on an ECS Cannot Be Sent?

Updated at: Jan 26, 2021 GMT+08:00

Solution

  • For the emails sent using the browser:

    When you use a browser to log in to your mailbox, HTTP is used, and the default port number is 80. However, SMTP is used between email servers.

    If you use a browser to send emails, enable port 80 for TCP in the outbound direction.

    1. On the page providing details about the target ECS, find the security group and click the security group ID.
    2. On the Security Group page, click the Outbound tab and then Add Rule.
    3. In the dialog box that is displayed, set Protocol/Application to TCP and Port to 80. Then, click OK.
      Figure 1 Adding port 80
  • For the emails sent and received through an email client:

    The protocols used on the receiving and transmitting ends are different.

    Protocol used on the transmitting end:

    SMTPS is used, and the port number is 465. Alternatively, SMTP is used, and the port number is 25.

    Port 465 is recommended. If port 25 is required, enable it. For details, see Related Operations (Requesting for Permitting TCP Port 25 for Outbound Transmission).

    Protocol used on the receiving end: POP3 is used, and the port number is 110.

    For details, see steps 1 to 3.

    Add an inbound rule with Protocol set to TCP and Port to 110. Add an outbound rule with Protocol set to TCP and Port to 465 or 25.

Related Operations (Requesting for Permitting TCP Port 25 for Outbound Transmission)

TCP port 25 is prohibited by default in the outbound direction for security purposes. This configuration affects your service running only if your email service is deployed on the cloud.

Before sending the application, you must agree and guarantee that TCP port 25 is only used to connect to third-party Simple Mail Transfer Protocol (SMTP) servers and that emails are sent using the third-party SMTP servers. If you use the EIP specified in the service ticket to directly send emails over SMTP, we will permanently disable TCP port 25 and you will no longer be able to use it or request for it to be enabled.

  1. On the Create Service Ticket page, choose Products > Elastic Cloud Server.

    For details about how to submit a service ticket, see Submitting a Service Ticket.

  2. Click Open Port 25 under Select Subtype and click Create Service Ticket.
    Figure 2 Creating a service ticket
  3. On the displayed page, enter the required information.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel