CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 12 of 12
  1. #1
    Join Date
    May 2011
    Posts
    11

    c++ email question

    So I basically want to make a program that emails the emails address I input.

    What's a skeleton for that?

  2. #2
    Join Date
    May 2011
    Posts
    0

    Re: c++ email question

    It is a nice Questions... U want more c++ Questions click this link http://www.coolinterview.com

  3. #3
    Join Date
    May 2011
    Posts
    11

    Re: c++ email question

    Bump...

  4. #4
    Join Date
    Jul 2010
    Posts
    37

  5. #5
    Join Date
    May 2011
    Posts
    11

    Re: c++ email question

    Quote Originally Posted by petszk View Post
    I promise I've tried, and as stupid as it sounds, I'm not able to get any of the ones I find online to work =/

  6. #6
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    Re: c++ email question

    What have you tried and what issues do you see? Have you runned the code in the debugger? You can't just assume that the "old" code you found on the net works with your ISP. Many ISP's have some kind of anti spam activated in their mail servers.
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    https://visualstudio.microsoft.com/vs

  7. #7
    Join Date
    May 2006
    Location
    Dresden, Germany
    Posts
    458

    Re: c++ email question

    Quote Originally Posted by Dgameman1 View Post
    I promise I've tried, and as stupid as it sounds, I'm not able to get any of the ones I find online to work =/
    I promise that you'll get help if you write us

    • what you've tried
    • where you had problems
    • example code of what you've done so far.

    It isn't that hard to read some of the google links and to get a starting point. If you encounter problems let us know.

    With regards
    Programartist

  8. #8
    Join Date
    May 2011
    Posts
    11

    Re: c++ email question

    I went to this page
    http://visualprogramming.codeplex.co...ses/view/41732
    and downloaded the source and the exe.

    I ran the exe and it said something about how the program failed to start because its side-to-side configuration is incorrect.

    I then opened up the source, ran it, it worked perfectly fine until I pressed send. When I did so, it said...
    An unhandled exception of type 'System.Net.Mail.SmtpException' occurred in System.dll

    Additional information: Failure sending mail.

  9. #9
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: c++ email question

    That code is .net and off-topic for this forum.

  10. #10
    Join Date
    May 2011
    Posts
    11

    Re: c++ email question

    Quote Originally Posted by GCDEF View Post
    That code is .net and off-topic for this forum.
    Oh, maybe that's why it didn't work..

    I'm looking for a code that I can use in visual c++ or dev-c++

  11. #11
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Location
    Florida
    Posts
    12,637

    Re: c++ email question

    Quote Originally Posted by Dgameman1 View Post
    Oh, maybe that's why it didn't work..

    I'm looking for a code that I can use in visual c++ or dev-c++
    I just use MAPI. Have you tried that?

  12. #12
    Join Date
    May 2011
    Posts
    11

    Re: c++ email question

    Quote Originally Posted by GCDEF View Post
    I just use MAPI. Have you tried that?
    i googled it and i'm not exactly sure how to use MAPI

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

Featured