-
January 4th, 2009, 12:15 AM
#1
Sending email from a VC++ app
Suppose I have two email ids. Example:-
idSender@yahoo.com
idReceiver@yahoo.com
I want to create a dialog based exe in VC++ 6.0. I place a button on the dialog. When I click the button, then an email should be sent from idSender@yahoo.com to idReceiver@yahoo.com
The content of the email is simply "hello".
Is this possible? If yes, then what code should I write in the click event of that button? If required, I can even hardcode the username and password of the sender id in the code.
-
January 4th, 2009, 01:05 AM
#2
Re: Sending email from a VC++ app
-
January 5th, 2009, 10:52 AM
#3
Re: Sending email from a VC++ app
Thanks, golan.
But what if I want to do it without opening outlook or any browser window? Sometimes when a Microsoft App crashes, then I get a message saying that Send report to Microsoft. When I click that button, then it does not open any browser but send the message. How to achieve that?
-
January 5th, 2009, 11:24 AM
#4
Re: Sending email from a VC++ app
Have a look at the Andreas Masur's example (post#12) in this thread
Victor Nijegorodov
-
January 5th, 2009, 08:28 PM
#5
Re: Sending email from a VC++ app
Originally Posted by visharad
Suppose I have two email ids. Example:-
idSender@yahoo.com
idReceiver@yahoo.com
I want to create a dialog based exe in VC++ 6.0. I place a button on the dialog. When I click the button, then an email should be sent from idSender@yahoo.com to idReceiver@yahoo.com
The content of the email is simply "hello".
Is this possible? If yes, then what code should I write in the click event of that button? If required, I can even hardcode the username and password of the sender id in the code.
Check out this product...I have used this (and other products from them) in a few commercial products...they work flawless and are very reasonable and no royalties...great help/support also...
http://www.marshallsoft.com/
Jim
Jim
ATP BE400 CE500 (C550B-SPW) CE560XL MU300 CFI CFII
"The speed of non working code is irrelevant"... Of course that is just my opinion, I could be wrong.
"Nothing in the world can take the place of persistence. Talent will not; nothing is more common than unsuccessful men with talent. Genius will not; unrewarded genius is almost a proverb. Education will not; the world is full of educated derelicts. Persistence and determination are omnipotent. The slogan 'press on' has solved and always will solve the problems of the human race."...Calvin Coolidge 30th President of the USA.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|