SMTP Server Settings

Hi,



I’m trying to set up the SMTP server to work with my Gmail account (I don’t mind doing it with another e-mail provider), but it never works. I always get errors. Does anyone know how to set it up?

This is very important for me because if I use the php mail function, my e-mails go to my customers’ spam box.



Please help.

Using gmail account is not very professional. It would look weird if I bought something but got a receipt from a gmail.com, I might consider that phishing or an attempt of something else.

Outgoing Mail (SMTP) Server - requires TLS or SSL: smtp.gmail.com (use authentication)

Use Authentication: Yes

Port for TLS/STARTTLS: 587

Port for SSL: 465



Google is using TLS for SMTP or SSL… I don’t think the cart can do either. PHP can but the cart does not have it coded…

I don’t have a choice. The php mail go straight to the spam box. Can I configure it to work with anyone else but Google (Google isn’t supported)?

I know this is an old topic but Im haveing serious Mail problems with v2.1.4

Ive got problems with the PHP mail function.

Some supplier emails are not sent, or at least may not be getting thru to the Supplier. Elsewhere on this forum its ben explained that some mail servers may reject as Spam, some emails sent from PHP mail programs. Advice is the using “via SMTP erver” solves this.

However “via SMTP erver” setting does not work, resulting in “SMTP Error: Could not connect to SMTP host.”

Ive set up the SMTP host:,SMTP username: and SMTP password: correctly , as per my mail client.

Use SMTP authentication: no or yes makes no difference.

I want to fix the “via SMTP erver” to solve these issues but believe that there are other Parameters that need to be defined to connect to my SMTP server, such as :

Outgoing Mail server PORT: eg 465

Connection Security: eg Normal password

Authentication Method: eg SSL/TLS



Even if using simple “(server requires authentication)” method, the Post is not standard, and needs to be set.

Question is:

  1. Where and How are these set? i cant find it anywhere.
  2. How can the SMTP mail server work without at least theport settings?

I seem to have posted this issue twice … i found the answer here : SMTP Error: Could not connect to SMTP host. - General Questions - CS-Cart Community Forums