Hello all,
i made a program and i have used a visual c++ 6.0 ,i want to send to mail output of the program may be written in txt file.
is that possible or not?if possible how?
Please help me
Erkin,
6 replies to this topic
#1
Posted 10 January 2011 - 02:32 AM
|
|
|
#2
Posted 10 January 2011 - 04:01 AM
There are a few ways of doing it:
1) most mail clients provide an interface for requesting to send an email
2) you can implement the SMTP protocol to send an email to your mail server
3) you can implement the mail protocol directly to act like a mail server sending out emails
4) there may be additional libraries available to VC++ 6.0
Note: VC++ 6.0 is very old, is there any reason you aren't using a more recent version?
1) most mail clients provide an interface for requesting to send an email
2) you can implement the SMTP protocol to send an email to your mail server
3) you can implement the mail protocol directly to act like a mail server sending out emails
4) there may be additional libraries available to VC++ 6.0
Note: VC++ 6.0 is very old, is there any reason you aren't using a more recent version?
#3
Posted 10 January 2011 - 04:28 AM
Thanks for your help WingedPanther
VC++ 6.0 is very old yes but more recent versions exe files are doesnt work or causing problems in 32 bit file system computers,
VC++ 6.0 is very old yes but more recent versions exe files are doesnt work or causing problems in 32 bit file system computers,
#4
Posted 10 January 2011 - 04:45 AM
Were you using managed code in more recent versions?
#5
Posted 10 January 2011 - 06:58 AM
yes i tried in visaul c++ 2008 its giving an error in xp and vista,i didnt try others
#6
Posted 10 January 2011 - 03:05 PM
Without knowing the errors, it's hard to know if your issue was invalid C++, compiling 64 bit instead of 32 bit, etc.
#7
Posted 12 January 2011 - 11:38 PM
try to save your mail to a text file then send the whole file... use fstream for creating a text file..
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









