How to change where E-mails are sent from

I am running CS-Cart Multi-Vendor addition 2.2.4. I have been testing the cart and noticed that when you complete the order that it sends a e-mail from my vendor’s e-mail address to the customer. Where can I change it so that the E-mails are sent from my primary admin E-mail?

I am still waiting this function.



Follow…

You can use the “send_mail_pre” php hook to apply whatever logic you want to any email being sent. You can change the to, from, reply-to, subject, body, attachments, etc…



If you do not know how to use php hooks and you are familiar with PHP, search the forums for 'php hooks' or google for 'cs-cart php hooks' and you will find info on how they can be used.

[quote name='tbirnseth' timestamp='1333826235' post='134482']

You can use the “send_mail_pre” php hook to apply whatever logic you want to any email being sent. You can change the to, from, reply-to, subject, body, attachments, etc…



If you do not know how to use php hooks and you are familiar with PHP, search the forums for 'php hooks' or google for 'cs-cart php hooks' and you will find info on how they can be used.

[/quote]thanks to tbirnseth