Results 1 to 13 of 13

Thread: How to send HTML enabled e-mails

  1. #1

    Thread Starter
    Fanatic Member 007shahid's Avatar
    Join Date
    Feb 2001
    Posts
    562

    How to send HTML enabled e-mails

    I want to send the following html code through e-mail. This is a part of a project that I am working on. How to make this viewable in an e-mail. Does hotmail support HTML page viewing.

    Code:
    <html>
    <body>
    <form method="POST" action="--WEBBOT-SELF--">
    <!--webbot bot="SaveResults" S-Label-Fields="TRUE" S-Email-Address="[email protected]" S-Email-Format="TEXT/PRE" -->
      <p><input type="text" name="T1" size="20"></p>
      <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
    </form>
    </body>
    </html>
    THE TIME/WEATHER IS
    Don't know how to use APIs or have problem with them,
    Download API-Guide & API-Viewer from http://www.allapi.net

  2. #2
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Viewing it as html is the receiver's option.

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    You should never send HTML email anyway. As DE says, it's the receiver's choice.

    I have it disabled in KMail, and only turn it on for specific recipients I trust


    That code won't work anyway. You need a FrontPage-extended server, so it would have to be a file on a server. Just email a plain-text message with the URL of your survey page (or whatever).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4

    Thread Starter
    Fanatic Member 007shahid's Avatar
    Join Date
    Feb 2001
    Posts
    562
    Well there goes my idea of making my own E-Mail Receiver/Sender like Outlook, with Mail Receipt feature (Though I know there are some on the net).

    Here is how I wanted to do this...
    The mail will be sent like this.
    Dear ABC
    This is the user's mail
    -XYZ

    The following added automatically by Mail Receipt
    ************
    Mail Receipt
    ************
    This form was generated by Mail Receipt.
    Please Click 'Send Receipt' to send notification
    ----------------
    |Sender's Mail |
    ----------------
    ----------------
    | Send Receipt |
    ----------------
    'Sender's Mail' is a TextBox & 'Send Receipt' would have been a push button and the form would have been created though the following code... (not perfect)
    Code:
    <html>
    <body>
    <form method="POST" action="--WEBBOT-SELF--">
    <!--webbot bot="SaveResults" S-Label-Fields="TRUE" S-Email-Address="[email protected]" S-Email-Format="TEXT/PRE" -->
      <p><input type="text" name="T1" size="20"></p>
      <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p>
    </form>
    </body>
    </html>
    [email protected] would be replaced by the sender's e-mail and the text box would have had the value of the sender's e-mail.

    Hence if the viewer is checking his mail from a browser, he simply needs to click the push button. (Would not take more than 2 seconds).
    And if the mail is seen through my outlook like program, then my program would check for...
    ************
    Mail Receipt
    ************
    and show the mail upto this part and not the form. It would have however gone through the form, got the sender's e-mail id and send him a mail.

    Well got to think of something else
    THE TIME/WEATHER IS
    Don't know how to use APIs or have problem with them,
    Download API-Guide & API-Viewer from http://www.allapi.net

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Hang on, you want to see if the recipient read the email? Why not just send it with a read receipt notification? (Look them up...)
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  6. #6

    Thread Starter
    Fanatic Member 007shahid's Avatar
    Join Date
    Feb 2001
    Posts
    562
    I didn't understand you. But I am not talking about private messages like in VB FORUMS, but e-mail from say Hotmail.com to Yahoo.com.
    THE TIME/WEATHER IS
    Don't know how to use APIs or have problem with them,
    Download API-Guide & API-Viewer from http://www.allapi.net

  7. #7
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    No, normal emails can have read receipts, that's where the concept in the PMs came from.

    Use google...
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  8. #8

    Thread Starter
    Fanatic Member 007shahid's Avatar
    Join Date
    Feb 2001
    Posts
    562
    Originally posted by parksie
    No, normal emails can have read receipts, that's where the concept in the PMs came from.

    Use google...
    Yes! That is why we can implement the receipt feature from program like outlook or by the e-mail providers.
    Eg: A mail from Hotmail to Hotmail
    A sends mail to B. B opens the e-mail. Now hotmail already has code to see if the mail is read or unread. The moment the first unread status takes place, hotmail can get senders address and send a mail through their server that the mail has been read.

    Also, See first item here http://www.google.com/search?hl=en&i...q=Mail+Receipt
    THE TIME/WEATHER IS
    Don't know how to use APIs or have problem with them,
    Download API-Guide & API-Viewer from http://www.allapi.net

  9. #9
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Note of warning, some people have them disabled in their email clients because of privacy issues (I get asked each time, and only send one to people I know).
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  10. #10
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Originally posted by parksie
    Note of warning, some people have them disabled in their email clients because of privacy issues (I get asked each time, and only send one to people I know).
    That has been mentioned.

  11. #11
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    No it hasn't...or at least it didn't read that way. I meant read receipts, not HTML.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  12. #12
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111
    Originally posted by DiGiTaIErRoR
    Viewing it as html is the receiver's option.
    No it hasn't...or at least it didn't read that way. I meant read receipts, not HTML.
    Really?


  13. #13
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Yes. I said that some people disable HTML email.

    I subsequently said that some people *also* disable read receipts because it can be a violation of privacy.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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