Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4

Thread: C++ and E-Mail

  1. #1
    Regular Coder
    Join Date
    May 2004
    Location
    New Hampshire, America
    Posts
    246
    Thanks
    0
    Thanked 2 Times in 2 Posts

    C++ and E-Mail

    Yeah, I've got a lot of C++ programs going on right now for those of you who have read all my C++ posrs lately .

    Really, it's all in the title: Does anyone know how I can send an e-mail through C++ WITHOUT having to go through all that smtp crap? PHP has one: Mail(), VB has many, so C++ must have one, or at least a downloadable component (Read: FREE) to ease the process, right?

  • #2
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    You need MAPI. I've never had to use it myself, but I'm sure there would be some good tutorials out there. Try googling for some. I'll have a look soon as well, you've got me interested. I'll look for some 3rd party libs as well.
    Omnis mico antequam dominus Spookster!

  • #3
    cfc
    cfc is offline
    Regular Coder
    Join Date
    Dec 2004
    Location
    Keswick, Ontario
    Posts
    251
    Thanks
    0
    Thanked 0 Times in 0 Posts
    There's always the Thunderbird source code

    It's kind of hard to find anything completely free, but this might interest you:
    http://www.thefreecountry.com/sourcecode/sockets.shtml

    Scroll down to this: "SMTP SendMail() (WDJ June 98)"

    without all that smtp crap?
    err... my mistake
    Last edited by cfc; 02-14-2005 at 04:31 AM.

  • #4
    Regular Coder
    Join Date
    May 2004
    Location
    New Hampshire, America
    Posts
    246
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Thanks Mhtml! (Man Mhtml, we've been going back and forth for a while now and I'm just plain tired! Thanks for all your help tonight! )

    Edit: I'll give that a try anyway (even with the smtp crap) cfc, I'm going to bed this time though....i mean it
    Last edited by Dunna; 02-14-2005 at 04:14 AM.


  •  

    Posting Permissions

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