Identifying form errors from failed email

Issues related to forms.
Post Reply
CNS
 
 
Posts: 6
Joined: Sat Apr 18, 2020 7:42 am

Identifying form errors from failed email

Post by CNS »

Hello
I have a form which submits data to a CSV file and sends out an email to myself and the user.
If the email fails to send because of the client email settings, I presume an error is flagged. The problem is that I cannot test this eventually because all the clients around the world I have tested have successfully sent out emails and posted csv data.
Question; IF emailing fails, will the data posting be successful. Is an error message created (through my "error page") or will the submission be posted as successful.
thanks
Norman
User avatar
Pablo
 
Posts: 23025
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Identifying form errors from failed email

Post by Pablo »

If the form fails because the email address is invalid then the the data will not be submitted.
However, if the email is not sent by the server (for example because it is blocked) then this cannot be detected so in that case the data will be saved in the CSV.
CNS
 
 
Posts: 6
Joined: Sat Apr 18, 2020 7:42 am

Re: Identifying form errors from failed email

Post by CNS »

Thanks,
Is there anyway of bocking emailing without generating error?
User avatar
Pablo
 
Posts: 23025
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Identifying form errors from failed email

Post by Pablo »

If you do not want to send an email then you can leave the email field in the form properties empty.
Or you can the rename 'email' field to something else. for example 'email_address'. In that case the email address will not be validated.
Post Reply