How to customize From email address for email triggers

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
hubsun
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 32
Joined: Mon Nov 10, 2008 4:01 am

How to customize From email address for email triggers

Post by hubsun » Thu Nov 03, 2011 5:42 am

Hi,

I have a requirement to change the From email address to all automated emails like 'Customer Order Notification', etc depending on the Vendor of the product. How can I change this dynamically? If I am trying to give the vendor email alias, the system is not accepting and getting error message "From email address should be in the format of name@domain.tld.". What is the solution for my problem.

Thanks in advance,
regards,
Sunil

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: How to customize From email address for email triggers

Post by mazhar » Thu Nov 03, 2011 5:58 am

If I am trying to give the vendor email alias, the system is not accepting and getting error message "From email address should be in the format of name@domain.tld."
Email address input boxes have Email format validation applied. Just edit the Add/Edit email template page and then remove validators and it should allow you to input what ever you want. But I am not sure if it is related to what you are trying to accomplish means from address specific to vendor of the product. There isn't any easy way to do vendor specific from address. Either you have to disable automatic alerts and you send Emails manually which will allow you to set any from address you want or you need to make change in back end source code. Read this thread about how to trigger mail alerts manually viewtopic.php?f=42&t=8571

Post Reply