Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

e-mail in c++

  • 28-04-2005 11:43am
    #1
    Closed Accounts Posts: 110 ✭✭


    hey im am wondering dose anyone know if it is possible to send an email in a c++ program. I dont want to use any VB.net crap in fact no .Net..just plain and simple c++.

    steps
    make a string put this in a mail and send it..i am wondering is there an STL standard for this or do i really have to use c#

    also this will be running on a desktop with internet access.but do i need a server to send this once the code in in the c++ program. ie when u click on the exe will it just send the mail or do u need a special environment. because i intend to run this exe on more than 1 pc so i need it to be portiable

    anyway thats it any help would be great..


Comments

  • Registered Users, Registered Users 2 Posts: 950 ✭✭✭jessy


    Adblock wrote:
    hey im am wondering dose anyone know if it is possible to send an email in a c++ program.

    of course it is.
    Adblock wrote:
    or do i really have to use c#

    Ya cos C# has been around so long, all Email Clients were written in it. :rolleyes:
    Adblock wrote:
    also this will be running on a desktop with internet access.but do i need a server to send this once the code in in the c++ program. ie when u click on the exe will it just send the mail or do u need a special environment.

    I would imagine you would send the email to your ISP outgoing Mail server. no special envirment needed if you use standard C++;

    Heres a link to get you started the source is available in a link at the bottem of the page.


    Linky

    Good Luck with the project.


  • Closed Accounts Posts: 110 ✭✭Adblock


    i suppose i could have searched the net ..but i am very lazy and hoped to just get the code handy but ah no harm i just give a look at the link ya sent on



    thanks
    Adblock


  • Registered Users, Registered Users 2 Posts: 131 ✭✭theexis


    You might find using CDO via COM the simplest option.


Advertisement