Send mail
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8

Thread: Send mail

  1. #1
    Join Date
    Jan 2005
    Posts
    111

    Post Send mail

    Hi,

    How can I send a mail from my appliation.

    pls help...

    Regards,
    Ajay

  2. #2
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

    Re: Send mail

    Attached is a small console application which will send an email...
    Attached Files Attached Files
    Ciao, Andreas

    "Software is like sex, it's better when it's free." - Linus Torvalds


    Article(s): Allocators (STL) Function Objects (STL)

  3. #3
    Join Date
    Apr 2005
    Posts
    221

    Smile Re: Send mail

    Quote Originally Posted by Andreas Masur
    Attached is a small console application which will send an email...
    Thank you, Andreas, that looks like what I need.

    - Roger

  4. #4
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

    Re: Send mail

    You are welcome...
    Ciao, Andreas

    "Software is like sex, it's better when it's free." - Linus Torvalds


    Article(s): Allocators (STL) Function Objects (STL)

  5. #5
    Join Date
    Oct 1999
    Location
    California, CA
    Posts
    21

    Re: Send mail

    Quote Originally Posted by Andreas Masur
    Attached is a small console application which will send an email...
    This is perfect. How does one expand this to include attachments?
    -----------------------------------------------
    R.Bushlow@ieee.org

  6. #6
    Join Date
    Oct 2005
    Location
    Bangalore
    Posts
    1,051

    Re: Send mail

    - Sreehari
    "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us."
    " Everybody is sent to Earth on a purpose. I am so Lagging behind that i won't die." Calvin

  7. #7
    Join Date
    May 2011
    Posts
    3

    Re: Send mail

    Hello. When I run the program I get an error message like this. I would be glad if you help. Thank you in advance.

    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|11|warning: ignoring #pragma comment |
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|14|error: ISO C++ forbids declaration of 'VERSION_MAJOR' with no type|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|15|error: ISO C++ forbids declaration of 'VERSION_MINOR' with no type|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp||In function 'int main(int, char**)':|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|112|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|116|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|117|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|121|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|122|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|126|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|127|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|131|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|132|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|140|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|146|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|147|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|151|warning: deprecated conversion from string constant to 'char*'|
    C:\Users\Hkn\Desktop\calisma\fb\main.cpp|152|warning: deprecated conversion from string constant to 'char*'|
    ||=== Build finished: 2 errors, 15 warnings (0 minutes, 0 seconds) ===|

  8. #8
    VictorN's Avatar
    VictorN is online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,280

    Re: Send mail

    What "the program" did you run? In What IDE?
    Victor Nijegorodov

Posting Permissions

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


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center