If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

how to send mails from VC++ program without using outlook

Hi everybody,

I m writting an application which calulates some results and send them thr e-mail.I want my VC++ program to send this mail to specified address without using Outlook Express or Microsoft Outlook...or without opening any browser window...in fact i want to send them undetected..that means user shud not know abt sending mails....plzzzzz anybody tell me how to do this..its urgent...do u think socket programming will do this?

Try looking into the tools by MarshallSoft, I have used their lib/dll e-mail tools for some time now with very very very good luck. They are very easy to code into your app and invisible to the user as they use their own functions and do not use Outlook or Outlook Express. They can be found at. www.marshallsoft.com

hi jim..thanks a lot for ur quick reply..but will u plz tell me in detail??i mean what shud i look for on this given url??and how can i use that tools in my code??is it necessary to load those tools on user's computer??plzzzzz reply back...its a bit urgent.

You'll want to look at the "SEE4C" Email engine for c/c++ under the "Products" listing, it does require a dll to be on the users computer to send email in the background. There is full documentation online for reference/programmer and can be viewed. I looked and tested many email tools over a 4 month trial for one of my apps and found this one to be the best and easiest to understand and get running quickly. They do offer eval versions also.

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

Originally posted by Tamerocyte
Andreas,
in the code you attached why do you send line by line as opposed to the entire data buffer at once?
I am sure there is a good reason behind it, but I can't figure it out?

Thanks

Maybe because sprintf, like wsprintf (as I found out), has a limit of 1024 characters. Not always enough for the entire message body.

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

* The Perfect Platform for Game Developers: Android
Developing rich, high performance Android games from the ground up is a daunting task. Intel has provided Android developers with a number of tools that can be leveraged by Android game developers.

* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.