Results 1 to 6 of 6

Thread: [Resolved] send HTML Email

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    160

    Resolved [Resolved] send HTML Email

    hi ppl
    anyone can point me to a sample code that can prepare html email in mime encode or any popular encoding (I don't know) with attachments such as jpg, gif or swf...

    Thanks.
    Last edited by vbcodec; Jul 27th, 2005 at 01:33 AM.

  2. #2
    Hyperactive Member johnweidauer's Avatar
    Join Date
    Sep 2002
    Location
    SLC, UT
    Posts
    314

    Re: send HTML Email

    from what location will you want to send the email from (Stand-Alone or ASP). Will it be sent from a server or client desktop? Do you have an email server or comp. to asssit in this?

    There are many examples in this forum for all types mentioned, and for those not mentioned, just search for them.
    To the world you may just be one person, but to this one person, you just might be the world.

  3. #3
    Member M|sha's Avatar
    Join Date
    Apr 2005
    Posts
    48

    Re: send HTML Email

    Don't know about the encryption but I know how you could send HTML e-mails (Instead of plain text).
    Use the Winsock control to connect to the SMTP server. Send this...

    Helo SomeName
    Mail from:[email protected]
    Rcpt to:[email protected]
    Data

    Content-type: text/html
    Charset=us-ascii

    YourMessge
    .
    Quit


    Or something Like that...

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Sep 2003
    Posts
    160

    Re: send HTML Email

    johnweidauer,
    it will be a simple application that will go to tray or run as a service on one pc which will connect to smtp server, but at next step it can be mail server itselt.

    M|sha
    I didn't really meant to be encrypted but it's coding I believe is called MIME which is used for email format (to my knowledge). and how do I attach files such as images or swf or attachment?

    thanks

  5. #5
    Hyperactive Member johnweidauer's Avatar
    Join Date
    Sep 2002
    Location
    SLC, UT
    Posts
    314

    Re: send HTML Email

    http://www.devarticles.com/c/a/Visua...-VB6-CDO-MAPI/

    this is kind of the same scenario you are dealing with.
    To the world you may just be one person, but to this one person, you just might be the world.

  6. #6
    Fanatic Member
    Join Date
    Jan 2005
    Location
    In front of this pc.
    Posts
    580

    Re: send HTML Email

    The attached file has a sample project and the DLL source for sending email and allows for encoding, html email, requesting receipts, etc. I think I got it from vbaccelerator.com
    Attached Files Attached Files

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