I am trying to figure out this SMTP protocol and I got everything to work except for sending an attachment. I am using the winsock control. Does anyone know how I can send attachments using SMTP and the winsock control?
Printable View
I am trying to figure out this SMTP protocol and I got everything to work except for sending an attachment. I am using the winsock control. Does anyone know how I can send attachments using SMTP and the winsock control?
You need to use a base64 class module to convert attachments.
Like the one attached.
Also you could search www.planet-source-code.com for an example.
If you cant figure out it's usage post reply i've give you the rest!