+ Reply to Thread
Results 1 to 10 of 11

Thread: HTMLTemplate screws FormMail Process

Hybrid View

  1. #1
    Join Date
    Sep 2009
    Posts
    6

    Default HTMLTemplate screws FormMail Process

    Hi there, I brought the wizard to set the form up for me as I was new to this, however by the end of getting it all to work how I want I'm not too shabby with this stuff now but I'd just like to comment on how great the form is. Anyway, my problem:

    With no HTML Template:

    . Email sends from the email address I want
    . With the subject name I want
    . Avoids the Junk Mail
    . No Errors, 100% perfect.

    With very simple HTML Template:

    . Email sends from the email filled out on the form
    . No Subject name
    . Straight to Junk Mail
    . However the HTML template works nicely and all info is displayed as told.

    The HTML Template basically ignores all of my hidden fields which are:

    Code:
                <input type="hidden" name="replyto" value="myemail@domain.com" /> 
                <input type="hidden" name="good_url" value="test.html" />
                <input type="hidden" name="recipients" value="myemail@domain.com" />
                <input type="hidden" name="mail_options" value="FromAddr=Mail@domain.com" />
                <input type="hidden" name="mail_options" value="HTMLTemplate=frmsubmit.html" />
    I've read several pages of people having issues with the email problem just not with using a template. Just to clarify - if someone puts their email in a form then the email will send to me from their email followed by my host.

    Thanks in advance,
    Ben.

  2. #2
    Join Date
    May 2008
    Posts
    1,274

    Default Re: HTMLTemplate screws FormMail Process

    You have 2 separate mail_options tags, when you should have just 1 with additional settings separated by a comma, so it's ignoring the FromAddr setting. Put them together and it should solve your problem.

    I don't see a hidden field for "Subject".

    Also, you need to set TemplateMissing in your mail_options tag if there are any fields that can be left blank.
    Last edited by ginger23; 03-Oct-2009 at 02:32 PM.

  3. #3
    Join Date
    Sep 2009
    Posts
    6

    Default Re: HTMLTemplate screws FormMail Process

    Hi again, thanks for the info, cleared it all up and works great. However I feel I'm at the end of my struggle with one more issue:

    As soon as I change the email address of which the form sends to, unless it's my email address, everytime I will get the error:
    no_valid_recipients

    I know this is one of the most common issues here but I've tried everything I could find, nothing seems to make it work.

    My Test page is http://www.purelyred.com/test2/test.html
    the Formmail script is at: http://www.purelyred.com/REDMail.php
    -----------------
    It's so weird that only my email address works. Trying to put anyone elses email instead of mine just fails with the same invalid error.
    Last edited by darkorder90; 04-Oct-2009 at 04:01 AM. Reason: problem turned up again.

  4. #4
    Join Date
    May 2008
    Posts
    1,274

    Default Re: HTMLTemplate screws FormMail Process

    What does your $TARGET_EMAIL setting look like?

  5. #5
    Join Date
    Sep 2009
    Posts
    6

    Default Re: HTMLTemplate screws FormMail Process

    Quote Originally Posted by ginger23 View Post
    What does your $TARGET_EMAIL setting look like?
    $TARGET_EMAIL = array("^ben_jenn1ngs@windowslive\.com$");

    That works but soon as I change it to any other email i.e

    $TARGET_EMAIL = array("^collision@hotmail\.com$");

    It stops working. Naturally I changed the form/html accordingly to match the TARGET_EMAIL but no luck.

  6. #6
    Join Date
    May 2008
    Posts
    1,274

    Default Re: HTMLTemplate screws FormMail Process

    Check out this page about solving email problems, particularly the test scripts:

    http://www.tectite.com/fmdoc/emailproblems.php

    ... as well as this thread:

    http://www.tectite.com/vbforums/show...main#post16449

+ 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. Unable to get HTMLTemplate to work
    By WyleySam in forum Community Support
    Replies: 18
    Last Post: 03-Mar-2007, 11:19 PM
  2. Form Error & HTMLTemplate
    By GeoBrooks in forum Community Support
    Replies: 0
    Last Post: 14-Dec-2006, 07:04 PM
  3. how to process html after a form is not submitted well
    By bemmel in forum Community Support
    Replies: 2
    Last Post: 05-Sep-2006, 08:32 AM
  4. FmEncoder + HTMLTemplate?
    By MrBoogie in forum FormMailEncoder/Decoder
    Replies: 6
    Last Post: 18-Jul-2006, 12:52 AM
  5. Replies: 2
    Last Post: 19-Apr-2006, 03:46 AM

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