Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Contact Form not working

    https://sitstandforbusiness.com
    Version 1.5.6c
    PHP 7.4
    Plugins list: Google Recaptcha, Admin orders, Dynamic price updater, Google Shopping Merchant Feed,

    Hi All

    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.

    Settings are as follows: (personal info edited)

    Code:
    Send E-Mails     true     Info 
    E-Mail Transport Method     PHP     Info 
    E-Mail Linefeeds     LF     Info 
    Enable HTML Emails?     true     Info 
    Email Archiving Active?     false     Info 
    E-Mail Friendly-Errors     true     Info 
    Email Address (Displayed to Contact you)     [email protected]     Info 
    Email Address (sent FROM)     [email protected]     Info 
    Emails must send from known domain?     Yes     Info 
    Email Admin Format?     HTML     Info 
    Send Copy of Order Confirmation Emails To     [email protected]     Info 
    Send Copy of Create Account Emails To - Status     0     Info 
    Send Copy of Create Account Emails To     [email protected]     Info 
    Send Copy of Customer GV Send Emails To - Status     0     Info 
    Send Copy of Customer GV Send Emails To     [email protected]     Info 
    Send Copy of Admin GV Mail Emails To - Status     0     Info 
    Send Copy of Customer Admin GV Mail Emails To     [email protected]     Info 
    Send Copy of Admin Discount Coupon Mail Emails To - Status     0     Info 
    Send Copy of Customer Admin Discount Coupon Mail Emails To     [email protected]     Info 
    Send Copy of Admin Orders Status Emails To - Status     0     Info 
    Send Copy of Admin Orders Status Emails To     [email protected]     Info 
    Send Notice of Pending Reviews Emails To - Status     0     Info 
    Send Notice of Pending Reviews Emails To     [email protected]     Info 
    Set "Contact Us" Email Dropdown List     [email protected]     Info 
    Contact Us - Show Store Name and Address     1     Info 
    Send Low Stock Emails     0     Info 
    Send Low Stock Emails To     [email protected]     Info 
    Display "Newsletter Unsubscribe" Link?     false      
    Audience-Select Count Display     true     Info 
    SMTP Email Account Mailbox     [email protected]     Info 
    SMTP Email Account Password     ****************     Info 
    SMTP Email Mail Host     smtp.ourcompany.com     Info 
    SMTP Email Mail Server Port     587     Info 
    Convert currencies for Text emails     €,€:£,£:®,®:
    We list our emails like this because when we list our emails as Sales<[email protected]> its translates to Sales&lt;[email protected]&gt;

    The only other change we have made is enabling HTML emails. This is mainly for our Order confirmation/acknowledgements which we have customised that template for both.

    Please could any provide any insight?

    TIA,
    Debbie Harrison
    DVH Design | Web Design blog

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Contact Form not working

    Start here and go through the troubleshooting tips.

    https://docs.zen-cart.com/user/email..._introduction/
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Contact Form not working

    Quote Originally Posted by dharrison View Post
    We list our emails like this because when we list our emails as Sales<[email protected]> its translates to Sales&lt;[email protected]&gt;
    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.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Contact Form not working

    Quote Originally Posted by dharrison View Post
    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".
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Contact Form not working

    @mc's point is well taken - can you set your contact us email to [email protected] (no <>) and retest?
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  6. #6
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Contact Form not working

    Quote Originally Posted by swguy View Post
    @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...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Mar 2009
    Location
    Essex, UK
    Posts
    446
    Plugin Contributions
    0

    Default Re: Contact Form not working

    Quote Originally Posted by swguy View Post
    @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 &gt; and &lt;

    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.
    Debbie Harrison
    DVH Design | Web Design blog

  8. #8
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,622
    Plugin Contributions
    123

    Default Re: Contact Form not working

    Quote Originally Posted by mc12345678 View Post
    If I understood the OP correctly, that actually is the current condition of the email addresses.
    yep, I misread what @dharrison wrote.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  9. #9
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Contact Form not working

    Quote Originally Posted by dharrison View Post
    Yes I did try the standard format, only for it to convert back to the &gt; and &lt;



    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:
    Code:
    UPDATE configuration SET configuration_value = 'short name <[email protected]>, second short name <[email protected]>' WHERE configuration_key = 'CONTACT_US_LIST';
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: Contact Form not working

    Quote Originally Posted by mc12345678 View Post
    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:
    Code:
    UPDATE configuration SET configuration_value = 'short name <[email protected]>, second short name <[email protected]>' WHERE configuration_key = 'CONTACT_US_LIST';
    Noting that this will need to be performed via phpMyAdmin, since the v156 admin sanitization also applies to the Tools->Install SQL Patches.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v155 contact us form not working
    By highforfive in forum General Questions
    Replies: 5
    Last Post: 8 Sep 2016, 05:42 AM
  2. Contact Form not working
    By fairy in forum General Questions
    Replies: 6
    Last Post: 26 Aug 2010, 06:51 PM
  3. Contact form not working
    By stephenv in forum General Questions
    Replies: 1
    Last Post: 5 Dec 2008, 11:51 PM
  4. Contact Us Form Not Working
    By rlfreshwater in forum General Questions
    Replies: 2
    Last Post: 2 Jun 2008, 05:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR