Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email attachments + SMTP

Status
Not open for further replies.

domenu

Programmer
May 31, 2002
30
BE
Hello,

Recently, I have written an email program using the Winsock-control and SMTP,
and everything works fine, but I have only one problem left : sending attachments with the email.

I looked around on the info about SMTP and how to add attachments to an email,
but didn't find a decent solution to this problem (I even read the RFC 821 and 822 ...!!!).

My question : is there a way to add an attachment to an email sent with SMTP and winsock ???
It is probably something with the "Content-type = ..." property of the sendata SMTP-command, but I don't know how to do
this...

Can somebody help me out please ???


Thank you ---->>>> nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top