+ Reply to Thread
Results 1 to 6 of 6

Thread: Plain & HTML Emails Possible?

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    17

    Default Plain & HTML Emails Possible?

    Hi All,

    Sorry if this isn't the right place to post this, but it seemed appropriate at the time - and thanks for all time and effort that's gone into creating such a great script.

    I'm trying to get the script to send me the results of our enquiry form in both HTML and Plain formats - HTML in readable form for our operators and the plain text in CSV to be processed into our database. I've set up templates for both and have placed the following code in the form:
    <input type="hidden" name="mail_options" value="PlainTemplate=csvtemp.txt,HTMLTemplate=enqhtmltemp.htm,TemplateMissing=nv" />

    The form appears to be working OK but I'm only receiving the HTML email. I've tried changing it to just one or the other to make sure the templates are working OK and this was fine.

    Is it possible to set up the script so that I can receive both?

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

    Default Re: Plain & HTML Emails Possible?

    Hi,

    My guess is that FormMail is sending both but your email client only showing the HTML if it is present.

    If you can look at the "source" of the email, you'll see the plain stuff in there.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Dec 2003
    Posts
    3,907

    Default Re: Plain & HTML Emails Possible?

    Hi again,

    I think you're wanting to attach the PlainTemplate to the HTML email.

    You can do this. Search for "null filter" in the subscription forum: http://www.tectite.com/vbforums/forumdisplay.php?f=12
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  4. #4
    Join Date
    Mar 2006
    Posts
    17

    Default Re: Plain & HTML Emails Possible?

    Hi Russell,

    Thanks for such a quick response - and your second suggestion of attaching the PlainText file sorted it out - thank you!

    FYI: I checked the email source as you suggested first time around but the plain text stuff wasn't there.

    Regards,

    GillyB

  5. #5
    Join Date
    Mar 2006
    Posts
    17

    Default Re: Plain & HTML Emails Possible?

    OK, I'll try again.

    How can I get the script to send a plain text e-mail containing ALL of the form data, plus an html attachment containing a selection of form items?

  6. #6
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Plain & HTML Emails Possible?

    i dont know.

    but this thread: http://www.tectite.com/vbforums/showthread.php?t=158

    indicates you can do the reverse....have an HTML body and a plain text 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. PlainTemplate feature - formatting your plain text email
    By russellr in forum HOWTO Guides and Tips
    Replies: 7
    Last Post: 03-Mar-2005, 01:08 PM
  2. no emails being sent
    By dunn123 in forum FormMail Subscription Support
    Replies: 1
    Last Post: 13-Sep-2004, 01:19 PM
  3. Sample Auto Responder Form & Template
    By russellr in forum FormMail
    Replies: 0
    Last Post: 04-Sep-2004, 11:15 PM
  4. only two emails every ten minutes?
    By vynsane in forum FormMail Subscription Support
    Replies: 4
    Last Post: 26-May-2004, 10:00 PM
  5. not receiving emails
    By ctpiper in forum FormMail Subscription Support
    Replies: 1
    Last Post: 22-Apr-2004, 10:29 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