Forums / General Questions / Sending email from different accounts

Sending email from different accounts

Locked

Views: 1,170

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
23 Oct 2008, 1:43 AM
#1
captainstarbuck avatar

captainstarbuck

New Zenner

Join Date:
Aug 2008
Posts:
12
Plugin Contributions:
0

Sending email from different accounts

We're still in the pre-production testing phase with ZC. We're getting confirmation emails on new customers, referrals, orders, and lots of diagnostic emails from PayPal tests.

I'd like to be able to send emails to customers using one account, but send notifications about system events from another account. For example, customers should see the sender as [email protected] but I don't want to get an email from Sales@, I'd rather get it from Notifications@.

I'm fairly certain I could hardcode this change but is there an existing patch to allow for this?

TIA!

23 Oct 2008, 2:51 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Sending email from different accounts

The system is currently hard-coded to use the EMAIL_FROM address in most of those cases.
This may change in the future.

In the meantime, if it's a big deal for you, you could alter all the modules that are sending you debug data and change their zen_mail() function calls to use a different email address for your specific needs.

Granted, once your testing phase is done, you likely won't see diagnostic emails because you'll turn them off, and then it becomes largely a moot point.

.
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.