Jump to content

Contact form issue


henrylunar

Recommended Posts

CubeCart uses PHPMailer, a well-respected emailing utility.

What is the error you get?

PHPMailer needs to communicate with an SMTP server that you are authorized to  use. That server could be the one provided who also provides you your internet connection. There is probably a server you are authorized to use by who provides you your email address.

Link to comment
Share on other sites

Gmail may be restricting access to its SMTP server against unauthorized users.

Having a gmail account would mean you are authorized, but you also need to tell Gmail to expect connections from specified sources. After logging in to your Gmail account, go here: https://myaccount.google.com/security

At the bottom of the page, check: Allow less secure apps: ON

Also, choose the Sending method as "SMTP with TLS" and set the Outgoing SMTP Port to 587. Your SMTP Username is your complete Gmail email address (not just the name part).

Gmail may send you an email reporting something tried to use your account to send email from an unknown source. If you get this email, there will be a link to approve this thing to access the Gmail SMTP server using your credentials.

Edited by bsmither
Link to comment
Share on other sites

We know that there is no firewall blocking the connection. The Gmail SMTP server is answering.

According to the troubleshooting suggestion, the wiki article suggests there may be a problem with OpenSSL. So, in CubeCart admin, click PHP Info. Scroll to the table where OpenSSL would be (the tables are in alphabetical order).

I think you are running a local installation of PHP, yes? If so, make sure your PHP has OpenSSL installed.

The wiki article also mentions:

Quote

Enabling "Allow less secure apps" will usually solve the problem for PHPMailer, and it does not make your app significantly less secure. Reportedly, changing this setting may take an hour or more to take effect, so don't expect an immediate fix.

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...