Msg91 Help Doc
Transactional Email
How to use SMTP in MSG91

How to use SMTP in MSG91

A Simple Mail Transfer Protocol (SMTP) is a form of communication between servers used to send and receive email.  


1. Log in to the MSG91 Dashboard and go to the Email service.


2) To enable SMTP, navigate to the Domains Settings from the sidebar and select the verified domain from the top bar that you wish to configure. Toggle the SMTP option to enable it, and then enable IP Security for enhanced protection. For more, you can refer to the help documentation - https://msg91.com/help/transactional-email/IP-Security-Feature-in-SMTP-services

Once SMTP is enabled, open your SMTP tool and enter the required details including the SMTP Hostname, Username, Port, and Password as provided in the SMTP Integration section. Make sure you are using the authentication option.

Screenshot 2025-05-29 at 12.50.10 PM.png

The emails can only be sent from the verified domain/subdomain on MSG91. Once the mail is sent, you can see the logs in the Logs section. They will show the Type as SMTP. you can also monitor the open rate and the number of clicks on your email links directly within these logs. Each email log entry includes the click count, allowing you to track recipient engagement efficiently.

Screenshot 2025-05-29 at 1.08.02 PM.png

To track the number of clicks in SMTP emails, you must enable click tracking. Go to Domain Configuration, toggle Click Tracking, and apply the changes to activate it

Screenshot 2025-05-29 at 2.16.46 PM.png

Note: If you are using an online tool or third-party service to send emails via SMTP, make sure to change your SMTP password each time. This helps keep your domain safe and prevents it from being blocked if we detect spam activity.

Errors and Error codes that you might get : 

  1. 535 - 

    1. SMTP Service Disabled by Admin. - Admin has the right to disable SMTP Service for users sending a lot of spam mails.

    2. SMTP Service Disabled by User. - Admin has the right to disable SMTP Service for users sending a lot of spam mails.

    3. The domain xyz.com is not enabled. Please Contact Support.- Domain is disabled due to some reason.

    4. The domain is not verified. SPF, DKIM values must be set and verified on domain DNS records. - SPF, DKIM Records are not verified for the corresponding domain.

    5. Invalid Credentials - Credentials entered by the User are not valid, either invalid username or invalid password.

    6. You do not have sufficient balance for this operation. - There is not enough balance left in User’s account to send emails.

  2. 550 - 

    1. Invalid Mail From address received - User is sending Invalid MAIL FROM Command.

    2. File extension can be one of the following types: (list of supported attachments). - Invalid Attachment has been sent by the User in DATA Command.

    3. Subject cannot contain inappropriate words - Subject contains words which are listed as inappropriate by us.

    4. Body cannot contain inappropriate words - Body contains words which are listed as inappropriate by us.

    5. Cannot Connect to Server, Please try again after some time. - Some issue has occurred at the mailer server and needs to be fixed.

Prev