Thread: Send Email

    #1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Location
    Hong Kong
    Posts
    71
    Rep Power
    15

    Send Email


    How can I use VB6.0 to send email with SMTP?
    RayRay p(^_^)q
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Location
    Dublin
    Posts
    413
    Rep Power
    14
    Can you use the CDONTS library? (Search MSDN for CDONTS or NewMail)
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jan 2003
    Location
    No es importante
    Posts
    2,065
    Rep Power
    14
    Can you leverage a MAPI compliant client?
    El éxito consiste en una serie de pequeñas victorias día a día

    MySQL, MS SQL, MS ACCESS, Oracle Database Manager - http://victorpendleton.net/products/psdviewer.html
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Lagos,NIGERIA.
    Posts
    21
    Rep Power
    0
    I personally dont like mapi , and never suceeded with CDONTs .

    You could get away with this code snippet located on planet source code :

    http://www.planet-source-code.com/vb...24343&lngWId=1
  8. #5
  9. echo $usertitle['computer'];
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2003
    Location
    UK
    Posts
    6,705
    Rep Power
    420
    Don't click on his link, i can guess what it is:

    http://www.samspade.org/t/safe?u=htt...SCATLOVERS.COM
    Last edited by computer; May 3rd, 2003 at 06:01 AM.
  10. #6
  11. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Location
    Romania
    Posts
    2
    Rep Power
    0
    MAPI would work, but I can't do anything with sending formating text with this (just plane one).
  12. #7
  13. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    11
    Rep Power
    0

    Comment on 'Send Email'


    Hi!

    It all depends on what you are writing your app for - public app for anyone or internal app for some company. If you know and control your mailing environment - use MAPI or CDONTS (or something else suitable). If you don't know the target environment - use Winsock. Harder to program, but more effective regarding flexibility on the client side. You're not stuck with a mandatory platform/program on the client.

    Regards,

IMN logo majestic logo threadwatch logo seochat tools logo