Articles on: Store Settings

Configuring email notifications for new registrations and new orders

Expandcart offers two ways to send notifications to customers and shop owners

1- PHPmail:  PHP mail is the built in PHP function that is used to send emails from PHP scripts to users and admins without email authentication ( Username and Password ), and this may cause delay up to 24 hours or blocking in sending mails.

Find below Figure 1.1  for phpmail setting :

Figure 1.1 - Setting -Store Setting - Mail

2- Simple Mail Transfer Protocol (SMTP) :   This method send mails more faster and more secure using email authentication via Username and password, some providers reject this type of connection like Yahoo, Hotmail and Zoho, On the contrary some of them allow it like Gmail or Gsuit, also can be activated by Paid subscription thorough SMTP providers like:

After subscription can access to provider control panel to obtain the SMTP data and insert it on your store as shown in Figure 1.2 and Figure 1.3

Figure 1.2 Mailjet example setting - Transactional >> smtp

Figure 1.3 Paid providers SMTP setting in Store panel

Can also activate SMTP through FREE GMAIL account by following these steps :
1- Create free gmail account from here :

2- Allow access for less secure apps as Figure 1.4

Figure 1.4 google account  - My account >> Sign-in >> Less secure apps

Note: If you use 2 factor authentication to access your Google account, access for less secure apps cannot be enabled. In this case, you will have to disable it

3- If you want to take advantage of IMAP protocol and store all outgoing emails in your Gmail Sent folder, follow these steps in Figure 1.5 and Figure 1.6 :

Figure 1.5 IMAP Setting:

Figure 1.6 - Enable POP/IMAP 

4 -Find Google SMTP details below and fill it in your store panel, Figure 1.7

Figure 1.7 - Gmail SMTP setting in Store Panel

5- Now you have to test configuration by make new order or new account, then check your email inbox and outbox folder.

Note: Google may block first attempt to send mail, in this case you will receive a mail from google to whitelist store ip, once whitelisted can test it again.

In order to be able to set up an online store at the ExpandCard platform, please click on the link below

Updated on: 23/01/2023

Was this article helpful?

Share your feedback


Thank you!