Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
ViArt User's Guide (Version 3.6)
Please, see the list of all new features and fixed bugs that were made to all ViArt PHP Shopping Cart releases from version 2.1.1 up to the latest 3.5 version.
2.2. Configuring SMTP
2.2. Configuring SMTP
Prev Index Next

This tutorial covers the following sections:

Back to top


From version 3.3 ViArt Shop provides the ability to send e-mails via a separate Simple Mail Transfer Protocol (SMTP). SMTP stands for a relatively simple, text-based protocol for sending electronic mail messages between servers. Note: SMTP is just an additional option to send your email and we recommend to use default server mail settings if it's possible.

Back to top

Where to find SMTP settings

SMTP settings are located at Administration > System > Global Settings > E-MAIL tab.

Back to top

How to configure SMTP

The screen for SMTP settings looks as follows:


Enable SMTP makes SMTP feature active.

Host - it is recommended to use your local ISP's SMTP server. It can be either mail.yoursite.com or smtp.yoursite.com (depending on the host), where yoursite.com name equals your actual site URL (domain name).

Port - SMTP usually operates over Internet via port 25.

Timeout - specify the server response timeout (if needed). Enter the number of seconds (in decimal) for the SMTP service timeout. This is not a required option.

Username - type the login name you used when creating an email address (you can ask your email provider if you forget the login), this is usually your email address name.

Password - indicate the password you used when creating an email address (you can ask your email provider if you forget the password).

The PHP mail() function is used to send emails from inside a script if you want to set a custom header or any additional parameters for your email notification messages.

Additional headers - this is the optional parameter. Specifies additional headers, like From, CC, and Bcc.

Additional parameters - optional. Defines any additional parameters to the sendmail program.

For more information on php mail function please refer to this site

Once completed all emails generated via the ViArt software will use these as default once it is set.

Back to top

Frequently asked questions

Can I use SMTP feature on the ViArt trial hosting account.

Unfortunately, we do not provide SMTP for trial hosting accounts because of the SPAM issues (as our 30-days trial accounts can be used for spam sending).

What are SMTP details for ViArt hosting accounts

Usually, they are as follows:

Host for SMTP and POP3: hosting.viart.com

Port for POP3 server is 110.

Port for SMTP server is 465.

If I'm using a local server what SMTP host and port should I use?

If you use your local server it is enough to set SMTP settings in the php.ini:

SMTP = mail.yoursite.com (where yoursite.com name equals your actual domain name).

smtp_port = 25

I'm receiving an error: "Mail server error, message was not sent" when sending an email to a customer using SMTP feature on version 3.5.

Please, download the patch for version 3.5 here

Prev Index Next