Skip to main content

Emails

Go to DevMall Dashboard > Configuration > Emails from the sidebar. Two settings will show: Setup and Template.

User tab of User exportingUser tab of User exporting

Email Setup​

Email Protocol​

There are two email sending protocols, Send mail & SMTP. To get mail need to configure mail settings.

To send mail, Select Email Protocol (Two options available, SMTP and Send Mail) then click on Save button.

User tab of User exportingUser tab of User exporting

SMTP Configuration:​

To config SMTP, first need to setup SMTP settings for the general email account that all emails from this system will be sent. To setup SMTP Configuration put the necessary valid info for configuration.

User tab of User exportingUser tab of User exporting

The below examples are general examples of how to configure SMTP to send an email, keep in mind that the examples may be different than the actual server requirements, it's best to consult with the hosting provider to provide the correct SMTP configuration.

  • SMTP server over port 25

    SMTP Host: yoursmtphost.com
    SMTP Port: 25
    SMTP Email: Your email
    SMTP Password: Your password
  • SMTP servers that require SSL connection

    Encryption: SSL
    SMTP Host: yoursmtphost.com
    SMTP Port: 465
    SMTP Email: Your email
    SMTP Password: Your password
  • For Gmail use the following configuration

    Encryption: SSL
    SMTP Host: smtp.gmail.com
    SMTP Port: 465 / For TLS encryption use port 587
    SMTP Email: youremail@gmail.com
    SMTP Password: Your password
πŸ‘€ Info

It's recommended to use the SMTP email protocol to get the best experience when sending email from DevMall.

If there are any problems setting up SMTP the best option is to contact the hosting provider and consult with them to give the correct SMTP configuration or check any email logs stored on the server.

⚠️ Warning

If using Gmail/G Suite then needs to have enabled less secure apps in the account.

Common Issues​

  • Could not connect to SMTP host

    • The mail server is blocking connections from the server. (contact/consult the hosting provider to unblock)
    • The server is blocking outgoing connections to the mail server. (contact/consult the hosting provider to unblock)
    • The SMTP settings entered under Setup > Settings > Email are not correct. Consult the server administrator/hosting provider that have entered the correct SMTP config.
  • Common issues with Gmail or G Suite – Invalid username or password

    • Invalid username or password when using Gmail or G-Suite can be a common error if it hasn’t turned Less Secure Apps to ON, however, it’s recommended first to check if the password is correct.

Email Template​

  • Go to Template from the sidebar. An email template list will appear.
πŸ‘€ Info

All email templates support multi-language (Available language on the application).

Here is a list of all available email templates:

  • Low Stock Threshold: Sends email to vendor when the product's stock reaches the low stock threshold.
  • Popup Mail: Sends email to the user when they give their email to a popup message.
  • Admin Change Seller Status: Sends email to the vendor when their account status is changed by admin.
  • Admin accepted Seller request: Sends email to the vendor when admin accepted vendor registration.
  • Ticket Assignee: Sends email to the assignee of the ticket when admin adds him/her to the ticket.
  • Ticket Vendor: Sends email to the vendor when admin creates a ticket for that vendor.
  • Ticket Reply: Sends email to Admin when the vendor creates a ticket and Sends email to the assignee when the vendor replies to the ticket.
  • Ticket Department: Sends email to everyone who is under that department.
  • Vendor Invoice: Sends email to the vendor when the order is placed.
  • Subscriber: Sends email to the user when they subscribe to the newsletter.
  • In Progress Refund Request: Sends email to the customer when a refund is in progress.
  • Accepted Refund Request: Sends email to the customer when a refund is accepted.
  • Declined Refund Request: Sends email to the customer when a refund is declined.
  • Reset Password: Sends email to the customer when the password needs to be reset. It sends OTP or verification token.
  • New Password Settings: Sends email to the customer when the password is reset.
  • Email Verification: Sends email to the customer when they register in the system.
  • User: Sends email to the customer when admin adds a new user to the system.
  • Invoice: Sends email to the customer when the order is placed.

Content can be edited, to edit click on the edit icon.

User tab of User exportingUser tab of User exporting
  • Status: Active indicates that the email template will be sent when needed and deactivating will deactivate the template and not get sent when needed.
  • Subject: is the subject of the email.
  • Variables: For specific email template has variables. Use these variables to get dynamic value of these variables. Suppose, invoice email template has {invoice_no} variable, if {invoice_no} variable used in invoice email template, the created Invoice Number will get automatically.
⚠️ Warning

Available variables are template-specific, it doesn't work one template's variables in other templates.