+ Reply to Thread
Results 1 to 3 of 3

Thread: Finally got fmencoder to work but now email template does not?

  1. #1
    Join Date
    Mar 2012
    Posts
    5

    Default Finally got fmencoder to work but now email template does not?

    I had formmail working fine without fmencoder. After installing fmencoder/decoder, and finally getting the correct paths to avoid errors, I now do not get the decoded email with my HTML template, but rather when the message is decoded, it has default formatting. If I remove the encoder, the template works fine. Here is code in the HTML Form:

    Code:
    <input type="hidden" name="good_template" value="ticket_success.php" />
    <input type="hidden" name="mail_options" value="HTMLTemplate=fmail.html" />
    <input type="hidden" name="filter" value="encode" />
    The template paths are set correctly.

    Help? I've been at this for hours. Actually, two days.

  2. #2
    Join Date
    Dec 2003
    Posts
    3,979

    Default Re: Finally got fmencoder to work but now email template does not?

    Hi,

    If you don't use a template, you get the encrypted email, right?

    Please check out this HOW TO guide:Down the bottom are examples of various ways you can use FormMailEncoder.

    The idea is you can have some fields un-encrypted (such as email address, phone number, etc.) and some fields encrypted.

    So, when you use an HTML Template, FormMail is assuming you want those fields un-encrypted and includes the template in the body of the email. Also, FormMailDecoder doesn't support HTML formatting, so if you want to use a template with your encrypted fields, you need to use a PlainTemplate.

    It's almost always a good idea to tell FormMail to attach the encrypted part to the email, rather than try to put the encryption in the body of the email.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Mar 2012
    Posts
    5

    Default Re: Finally got fmencoder to work but now email template does not?

    Thanks, good documentation, I had not found that page. Got it working with plain text and then with attachment.

+ 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. Email Template + Good URL Template?
    By nolene in forum Features Questions
    Replies: 1
    Last Post: 30-Nov-2008, 06:38 AM
  2. I can't get email template to work!
    By VentureDave in forum Community Support
    Replies: 1
    Last Post: 10-Oct-2007, 06:48 PM
  3. Can't get plain.txt template to work
    By racsw in forum Community Support
    Replies: 4
    Last Post: 01-Jul-2007, 09:01 PM
  4. FmEncoder + HTMLTemplate?
    By MrBoogie in forum FormMailEncoder/Decoder
    Replies: 6
    Last Post: 17-Jul-2006, 11:52 PM
  5. fmencoder error
    By Chrisanna in forum FormMailEncoder/Decoder
    Replies: 22
    Last Post: 11-May-2005, 02:04 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