Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2012
    Posts
    60
    Plugin Contributions
    0

    red flag Contact form subject drop down menu to different addresses

    Hello, Me again :/

    I've installed the add subject line to contact form, but i'm actually looking to make preset subject lines to different addresses
    so on my email account it shows the subject line the customer selected for filtering purposes
    right now I have done the Contact us drop down menu and it says
    Send Email To:
    it sends the email fine but the option you select doesn't show on the subject line in my email. also the Subject is still in the form.
    I'm super confused, i've done research and couldn't find anything. help?
    https://www.josephfilippiwinery.com/store/index.php?main_page=contact_us

    thank you!

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

    Default Re: Contact form subject drop down menu to different addresses

    I guess I'm a little confused myself. The Send Email To: dropdown sends that email to a particular address you've specified in admin. The name you gave that option (Steve <steve@steve,com>) isn't passed to the recipient, but the email address that the message was sent to should be unique to that dropdown name, otherwise there isn't any reason to use the dropdown. If the customer specifies a Subject, that is sent on the Subject line.

    If I'm not understanding the issue, let me know.

  3. #3
    Join Date
    Jan 2012
    Posts
    60
    Plugin Contributions
    0

    Default Re: Contact form subject drop down menu to different addresses

    OK, I don't want the subject line anymore, the name I gave that option I want it to also be the subject so on my email account it'll say Wholesale/Distributors etc....

  4. #4
    Join Date
    Oct 2007
    Posts
    143
    Plugin Contributions
    0

    Default Re: Contact form subject drop down menu to different addresses

    it's been awhile since I made that change, but I believe if you go into includes/modules/pages/contact_us/header.php and look for this line:
    Code:
        zen_mail($send_to_name, $send_to_email, EMAIL_SUBJECT, $text_message, $name, $email_address, $html_msg,'contact_us');
    the third item being passed with this function is where the email_subject comes from. currently, the code is set so that whatever subject the customer types will appear as the email subject. To have the NAME from the dropdown menu show up as the subject, change to:
    Code:
    zen_mail($send_to_name, $send_to_email, $send_to_name, $text_message, $name, $email_address, $html_msg,'contact_us');
    as always, backup and test changes before using on live site..

  5. #5
    Join Date
    Jan 2012
    Posts
    60
    Plugin Contributions
    0

    Default Re: Contact form subject drop down menu to different addresses

    Cool THank you!!! :)

 

 

Similar Threads

  1. v139h Adding "Condition" drop down menu to new product listing form in Admin
    By respawnedelectronics in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 28 May 2014, 08:04 PM
  2. v139h Drop-down menu for email subject line in contact form
    By lastmiracle in forum General Questions
    Replies: 5
    Last Post: 28 Feb 2012, 08:12 PM
  3. v150 Change Contact Us Form Subject?
    By pmurray in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 22 Jan 2012, 10:51 PM
  4. Adding a subject line to the contact us form
    By bubblegumgoods in forum General Questions
    Replies: 2
    Last Post: 24 Jun 2007, 05:00 AM
  5. Contact us form drop down box for different departments?
    By immersive in forum General Questions
    Replies: 1
    Last Post: 29 Jan 2007, 09:44 PM

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