WebSite X5Help Center

 
john smith
john smith
User

How to get informed if email sending fails?  en

Author: john smith
Visited 381, Followers 1, Shared 0  

Hi

In the last few years, we've had 2-3 cases of email delivery from "Contact form object" suddenly failing, mostly because the SMTP provider changed some security settings, or after installing new X5 version. After tweaking the email send parameters, the problem was always solved quite fast.

But, the much bigger problem was that it usually took several weeks to detect that the problem is there at all, i.e. that the emails are actually not being delivered! Important customer emails were lost... Even worse, the customers always received the confirmation message box after sending, even if the email was not sent at all.

Is there any recommended method to provide immediate alert to the admin if there is a problem with email sending? Additionally, is it possible to save all emails on the server, in parallel to sending those per email? In that case, in case of a problem, customer emails would not be lost, but could still be retrieved.

Are there any other procedures or ideas to solve this problem?

Best regards
John

Posted on the
2 ANSWERS
Miguel Galarza
Miguel Galarza
User

Hello:
If you create a database and send the form data to that database xD, they are saved there.

I suppose your problem is the traiangulation between the server and the client's email and yours (service provider-store).

This happens when there are changes in the server, either by updating the cpanel or changing the php version. In the case that just happened to me, the host is godaddy, they updated cpanel to version 118 and in the email I had to remove the mail prefix; mail.radiomazz.com and leave it as radiomazz.com, in the SMTP address, and the emails began to flow again both to the client and to my assigned personal email. (Note, each server acts differently)

But if the database is well configured, the data arrives and remains there for consultation.

Greetings.

Read more
Posted on the from Miguel Galarza
Miguel Galarza
Miguel Galarza
User

I forgot a screenshot:

In the forms, the data collected is sent to the database and to its table where it will be saved. As well as to the email where the triangulation will be done on the server.

The client enters their data - the data goes to the database - the message is sent to the assigned email (contact at yourserver.com management at yoursever.com etc.)
and the server sends the notification to the client and to the personal email that we designate as notification of an order; at hotmail.com, at gmail.com etc.

Greetings.

Read more
Posted on the from Miguel Galarza