My client wants to me to change the NEW ORDER NOTIFICATION email.
The “from:” is currently our company name, which is set as “email@company.com” entered in the admin panel > settings > Company > Order department e-mail address
The .tpl files in the Mail section only deal with the body of the various messages, so I think I have to change the lib/phpmailer/class.phphmailer.php file:
```php
/**
Sets the From email address for the message.
@var string
*/
public $From = 'root@localhost';
/**
Sets the From name of the message.
@var string
*/
public $FromName = 'Root User';
```
This looks like the right place, but I suck at PHP.
Some people on this forum are PHP Gods, anyone know a quick fix for this?
Also, I'm using the “via PHP mail function” for my emails.
The other thing is, I only want it to affect the new order notification email. There are about a dozen other emails that CS Cart generates for other purposes using this same script…
[quote][color=#282828][font=arial, verdana, tahoma, sans-serif]Wouldn't this mean the client would get email from himself? That might look weird. [/font][/color][/quote]
Yes, yes it would. I guess I'd have to handle customer and orders department emails separately (somehow!)
[quote][color=#282828][font=arial, verdana, tahoma, sans-serif]If the problem is that you can't reply to order mails… I'm assuming you are using google apps? (I ask this with a reason)[/font][/color][/quote]
Not exactly. The client wants the customer's email address in the FROM: field so that they can integrate it with their CRM program (which is GoldMine).
Currently, the order-entry department takes each new order email and manually fills the data into their CRM. If I could just have the new order notification email come from the customer's email address, the whole thing would be automated and save the company man-hours, which as we all know, equals money.
We are using Google Aps, but they've got Microsoft Outlook rigged up with the GoldMine CRM to automate the whole thing.
Aha. I thought about doing that as well, but I am afraid it will become very messy in time. Imagine having 20 big order emails attached to each customer…
Instead I’m working on a crm synchronisation add-on using Capsule CRM, which I absolutely love. I tried many but this is the first one my collegues actually use.
With the add-on, all orders and customer details will be synced between the shop and crm system in real time. Capsule has a very handy Google mail raplet so with it I can see customer data in gmail, click on a customer, add tasks, and also see previous orders and user notes.
Capsule already has mailchimp integration too, as well as Xero.com for which an add-on is being made now as well. So I’m hoping this will make a very strong package alltogether without the need of a huge ERP system.