Results 1 to 9 of 9
  1. #1
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default email order from

    Is it possible to have account creations and order confirmations email sent from the email address of the customer, instead the default email address of zencart owner? Thank you

  2. #2
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: email order from

    this only for amin email copy; for customers maybe good the email sender of zencart owner

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: email order from

    What business problem are you trying to solve with this ?

  4. #4
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: email order from

    No business problem. Only relate customer with order into vtiger crm

  5. #5
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: email order from

    No one suggestions?

  6. #6
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: email order from

    I'm trying to change in /includes/classes/order.php at the end of file:
    $email_order . $extra_info['TEXT'], STORE_NAME, EMAIL_FROM, $html_msg, 'checkout_extra', $this->attachArray);
    EMAIL_FROM with $this->customer['email_address']
    with no success. Where I'm wrong?
    Last edited by 100asa; 6 May 2014 at 03:21 PM.

  7. #7
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: email order from

    ***SOLVED***
    admin-->configuration-->email option-->email address from BLANK, and mail send from know domains NO
    then, into root-->includes-->classes-->order.php, on the last line of file,
    PHP Code:
    $email_order $extra_info['TEXT'], $this->customer['lastname'], $this->customer['email_address'], $html_msg'checkout_extra'$this->attachArray); 
    so you will have the email extra order from the lastname and email of customer!
    Thank you

  8. #8
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: email order from

    After many more test, I've add again the default email address of my compay as sender default and know domain to NO
    So all the email will send by default compay address, except for order, that have sender email of customer.
    Now I would have the create account email with customers email, but in function_email.php I don't found the code to edit.
    Somebody help me to find it?

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: email order from

    Quote Originally Posted by 100asa View Post
    No business problem. Only relate customer with order into vtiger crm
    The "business problem" is apparently that you want to do something else with the emails, namely send data into your CRM.

    You have a few options:

    a) Since Zen Cart intentionally sends the email "from" the store, but with a "ReplyTo" of the actual customer's email address (this IS the CORRECT way to send store emails, else you'll get your email server banned for spoofing and impersonating people other than who you actually are), you could modify your CRM system to read the "ReplyTo" header instead of the "To" header.

    b) Or you could simply write an observer class (or modify one of the many I've posted on the forum already for this sort of thing) to send an extra copy of the emails using different rules, specifically to an inbox used by your CRM system. That way your CRM system would get a different specific email intended for its own use, completely separate from the Admin Office Use Only email that ZC normally sends.
    .

    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.

 

 

Similar Threads

  1. Comments missing from Order email
    By royaldave in forum Managing Customers and Orders
    Replies: 2
    Last Post: 4 Mar 2016, 12:03 AM
  2. Change order email from my store to from customers email?
    By MagicMan in forum General Questions
    Replies: 4
    Last Post: 10 Mar 2013, 03:19 PM
  3. Remove price from order email
    By marknew in forum General Questions
    Replies: 2
    Last Post: 17 Dec 2010, 03:04 PM
  4. Remove price from order email
    By bigbadboy in forum Managing Customers and Orders
    Replies: 1
    Last Post: 7 Jan 2009, 11:53 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