+ Reply to Thread
Results 1 to 2 of 2

Thread: Trouble setting "From" address

  1. #1
    Join Date
    May 2009
    Posts
    2

    Default Trouble setting "From" address

    Greetings!

    I've tried every combination of settings but have not been able to get the from email address to show as <Name "somebody@somewhere.com">. It happens if I exclude or don't exclude the realname field. The site is on HostMonster, if that makes a difference.

    It will only show the email address, or the default hosting account name, depending on the settings I choose. My client needs it to show the name in the from address.

    Here are my current settings:

    Code:
    $FROM_USER = ""; 
    define("SENDMAIL_F_OPTION",true);
    define("SENDMAIL_F_OPTION_LINE",__LINE__-1); 
    $FIXED_SENDER = "";
    define("SET_SENDER_FROM_EMAIL",true);
    define("INI_SET_FROM",false);
    And the form code:
    Code:
    <input name="derive_fields" value="email = EmailAddress, realname = FirstName + LastName" type="hidden">
    <input type=hidden name="mail_options" value="Exclude=email;realname;CoverLetter;Submit, NoEmpty=1, KeepLines=1">
    <input TYPE="hidden" NAME="required" VALUE="FirstName, LastName, Address1, City, State, ZIP, EmailAddress, WorkPhone, HomePhone">
    <input type="hidden" name="filter" value="csv" />
    <input type="hidden" name="filter_fields" value="Site,FirstName,LastName,Address1,City,State,ZIP,EmailAddress,WorkPhone,HomePhone,Education,CurrentPosition,CurrentSalary,SearchReason,LeadSource,LeadDate,Term,Comments, Resume" />
    <input type="hidden" name="filter_options"
         value="Attach=FormSubmission.txt,CSVHeading,CSVIntSep=:,CSVEscPolicy=double,CSVRaw" />
    Any ideas?

    Thanks!

    Emily
    Last edited by Emily; 26-May-2009 at 02:52 PM. Reason: To provide additional info

  2. #2
    Join Date
    May 2009
    Posts
    2

    Default Re: Trouble setting "From" address

    I figured it out. I upgraded to the newest version and added this to the mail_options:

    FromLineStyle=QuotedNameRouteAddr

    All better!

    Emily

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Don't want to force entering an email address
    By Goji in forum FormMail Subscription Support
    Replies: 10
    Last Post: 22-Jun-2004, 02:54 AM
  2. "Internal Server Error": What'd I do wrong?
    By sgodun in forum FormMail Subscription Support
    Replies: 4
    Last Post: 16-May-2004, 01:01 AM
  3. Spiders and "The form has an internal error"
    By russellr in forum FormMail Subscription Support
    Replies: 0
    Last Post: 13-May-2004, 10:11 PM
  4. Email contains no "mesg"
    By xuric in forum FormMail Subscription Support
    Replies: 1
    Last Post: 19-Apr-2004, 09:17 PM
  5. Mail Trouble
    By madref in forum FormMail Subscription Support
    Replies: 3
    Last Post: 30-Mar-2004, 11:15 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts