| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Contact form for multiple email addresses | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello, I am trying to add optional email addresses for the contact us form. I have 3 departments (Sales, Technical, and Web design) that all have different email addresses. I see you can select a department when sending a message from the customer contact form but, the department value doesn't change where the email goes and doesn't display in the email subject line, it is only visible once you open the email. Unfortunately I am not a programmer I have looked in to the /include/help.php/ file to make this happen but this is a little over my head. The idea is,
If department value=sales send to sales@website.com ElseIf department value=Technical send to tech@website.com Else send to webdesign@website.com Is this possible? Already available as a module or extension? If this is not possible, I'd be interested in finding out how to add the department value to the subject line of the emails coming from the contact form. This would be useful in forwarding mail without having to open each email. Any assistance or direction is most appreciated. Thanks, Charles 4.5.x Gold mobile
__________________
4.4.5-Gold |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Are you sure it doesn't send to different departments already? That would surprise me. Check what email addresses are set for the different departments in General Settings> Company. Near the bottom of the page, are there different email addresses set? And it doesn't send to the different emails? Sorry for double checking something obvious, I always assumed that worked.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
|
#3
|
|||||||
|
|||||||
![]() Thanks for responding Mike, nothing wrong with double-checking. I have the Company emails set up with separate addresses and the Company "from" email is blank. All notifications are being delivered to their proper addresses. The kink in the system is that you must assign an email address to the Help/Support department and all emails from the "contact us" page are routed to that one address. I did try it without assigning an address for Help/Support and it caused an error and failed to send the message. I was hoping it would direct the message to the right department, but no.
__________________
4.4.5-Gold |
|||||||
#4
|
|||||||
|
|||||||
![]() In order to add the "Department" to the subject line of emails coming from the Contact Us page, you will need to edit the help_contactus_subj.tpl file. The file location is /common_files/mail/help_contactus_subj.tpl.
Find: {config_load file="$skin_config"}{$config.Company.company_name} : {$lng.eml_contact_us_subj} And change to: {config_load file="$skin_config"}{$config.Company.company_name} - {$contact.department}: {$lng.eml_contact_us_subj} That's it. I am still very interested in finding a solution to direct the email to the separate email addresses of each department. If anyone has some direction on where I might start, suggestion, or solution, my ears are wide open. Thanks for reading.
__________________
4.4.5-Gold |
|||||||
|
|||
X-Cart forums © 2001-2020
|