Re: Contact Form not working
Re: Contact Form not working
Quote:
Originally Posted by
dharrison
Not captured (directly) within the referenced doc is that Zen Cart 1.5.6 implemented admin sanitization that resulted in the oversanitization of symbols such as < to be translated to & l t ; (without the extra spaces). Unfortunately, many of the email processing functions either expect or support that additional email information so that the user is displayed "standard" text such as "Sales" or "Support" instead of displaying the full email address of that group. In some cases, email is not sent without both pieces being populated (the "common name" followed by the email address captured between <>).
The email fields can be updated to include the <> symbols through an install sql update (found in the tools menu of the admin) command or within phpmyadmin.
Re: Contact Form not working
Quote:
Originally Posted by
dharrison
I have been testing my contact form on the above site and although it says that its sent, It does not appear to be sending any emails to the sender.
Contact-us never sends an email to the "sender". Doing that would make your site a vector that bad actors could use to spam the world.
Contact-us emails are only send to the configured email address; not to the "sender".
Re: Contact Form not working
@mc's point is well taken - can you set your contact us email to [email protected] (no <>) and retest?
Re: Contact Form not working
Quote:
Originally Posted by
swguy
@mc's point is well taken - can you set your contact us email to
[email protected] (no <>) and retest?
If I understood the OP correctly, that actually is the current condition of the email addresses. Thing is that I believe it wasn't until 1.5.7 that the email handling was sufficiently modified to allow all email addresses to be entered without having the follow-on <> styled email address. Until then I thought there were at least two email addresses that basically required the double format. One specifically said so in the configure description, the other didn't quite say that...
Re: Contact Form not working
Quote:
Originally Posted by
swguy
@mc's point is well taken - can you set your contact us email to
[email protected] (no <>) and retest?
Yes I did try the standard format, only for it to convert back to the > and <
Quote:
Originally Posted by mc12345678
The email fields can be updated to include the <> symbols through an install sql update (found in the tools menu of the admin) command or within phpmyadmin.
I have looked through Admin > Tools and I know where you can install patches from here, but cannot locate the actual patch you are referring to both here and in PHPmyadmin. Please could you point me in the right direction. :)
Quote:
Originally Posted by DrByte
Contact-us never sends an email to the "sender". Doing that would make your site a vector that bad actors could use to spam the world.
Contact-us emails are only send to the configured email address; not to the "sender".
Apologies I meant to the configured email address.
Re: Contact Form not working
Quote:
Originally Posted by
mc12345678
If I understood the OP correctly, that actually is the current condition of the email addresses.
yep, I misread what @dharrison wrote.
Re: Contact Form not working
Quote:
Originally Posted by
dharrison
Yes I did try the standard format, only for it to convert back to the > and <
I have looked through Admin > Tools and I know where you can install patches from here, but cannot locate the actual patch you are referring to both here and in PHPmyadmin. Please could you point me in the right direction. :)
Apologies I meant to the configured email address.
Sorry for not providing a sample query to adjust the settings. The below will address the contact us list, there are other configuration keys of interest where a similar query can be used by changing out the configuration_key:
Re: Contact Form not working
Quote:
Originally Posted by
mc12345678
Sorry for not providing a sample query to adjust the settings. The below will address the contact us list, there are other configuration keys of interest where a similar query can be used by changing out the configuration_key:
Noting that this will need to be performed via phpMyAdmin, since the v156 admin sanitization also applies to the Tools->Install SQL Patches.