Results 1 to 3 of 3

Thread: Sending html email in CGI

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Oct 2000
    Posts
    1,463

    Question Sending html email in CGI

    Unfortunately I tried doing a search on this but the search routine for vbforum is down right now. So sorry if this is a repeat question.

    I have some basic cgi scripts for sending email but they do it in basic text. How do I send html email? Is there something simple I do to convert it to html? Can someone show me what to change/add to my script?

    Thanks for your help!

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    You need to send a MIME header if you don't do that already and set the Content-type to text/html.
    Then simply put html tags in the content.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    The tricky part is embedding images in the mail and referring to them, I don't know how that works.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

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



Click Here to Expand Forum to Full Width