Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Oct 2012
    Posts
    13
    Plugin Contributions
    0

    Default Send copy of contact us email to customer

    So I was looking at the contact us header file located under modules and trying to distinguish the code that is sending emails. What I am trying to accomplish is the same copy of the email I get with customer questions through the contact us form, to also send a duplicate to the customer. What I concluded was this function: "zen_mail()". But do I just stick this under the store email being sent and how would I code the customer email within the zen mail function.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Send copy of contact us email to customer

    STOP for a moment and consider the problems with doing that: If you have a spammer come to your site and wants to cause trouble, if you make that change you will be letting them send spam to ANYONE simply by virtue of entering whatever email address they desire to spam. And then when the recipient gets that message and reports it as spam, your website will be blacklisted because it was the sender. Same if the recipient address is bogus: the spam filter programs on the mailserver will see that YOUR site sent the message and blacklist it.

    So, now that you've considered the BIG negative consequence of doing what you suggested, can you explain what business problem you were trying to solve by that particular technical "solution"?
    And is there a better way to accomplish the same *business* result without putting your website at risk?
    .

    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.

  3. #3
    Join Date
    Oct 2012
    Posts
    13
    Plugin Contributions
    0

    Default Re: Send copy of contact us email to customer

    Quote Originally Posted by DrByte View Post
    STOP for a moment and consider the problems with doing that: If you have a spammer come to your site and wants to cause trouble, if you make that change you will be letting them send spam to ANYONE simply by virtue of entering whatever email address they desire to spam. And then when the recipient gets that message and reports it as spam, your website will be blacklisted because it was the sender. Same if the recipient address is bogus: the spam filter programs on the mailserver will see that YOUR site sent the message and blacklist it.

    So, now that you've considered the BIG negative consequence of doing what you suggested, can you explain what business problem you were trying to solve by that particular technical "solution"?
    And is there a better way to accomplish the same *business* result without putting your website at risk?
    Thanks DrByte, I did not know that it would affect my website negatively like that. After knowing now, I decided it is not worth it as it would really erase all the effort I did to build my site. Very glad I asked before having someone else do it. I will instead include the extra information upon the success screen for customers to see. I did not know where to edit that part, but finally found with the tool kit, a great resource.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 29 Sep 2011, 04:56 PM
  2. Send copy of Contact Us email to 2nd email address
    By JJDoench in forum Basic Configuration
    Replies: 1
    Last Post: 22 Jul 2010, 03:14 PM
  3. Replies: 2
    Last Post: 4 May 2010, 05:05 PM
  4. Replies: 0
    Last Post: 14 Jul 2009, 09:59 AM
  5. How do I send BCC to myself when I Send Email to Customer?
    By Zinfandel in forum General Questions
    Replies: 3
    Last Post: 20 Aug 2008, 01:55 PM

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