Forums / General Questions / Send copy of contact us email to customer

Send copy of contact us email to customer

Views: 1,240

Results 1 to 3 of 3
24 Feb 2013, 1:42 PM
#1
whot avatar

whot

New Zenner

Join Date:
Oct 2012
Posts:
13
Plugin Contributions:
0

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.

24 Feb 2013, 3:51 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

25 Feb 2013, 12:27 PM
#3
whot avatar

whot

New Zenner

Join Date:
Oct 2012
Posts:
13
Plugin Contributions:
0

Re: Send copy of contact us email to customer

DrByte:

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.