TCP/IP
BlitzMax Forums/BlitzMax Programming/TCP/IP
| ||
hi, could anyone explain me how can we draw an image in blitzmax and send it to a mail id. |
| ||
1) Create image 2) write image to disk as JPG or PNG 3) read up on UUEncode / Mime Encoding, to convert the 8-bit binary image into a 7-bit text representation that can be attached to an email 4) Read up on the email specifications for the specifics on *how* to attach/embed the MIME-encoded image 5) Read op on the SMTP specifications on how to communicate with an SMTP Server, to send out the message you've created in steps 1-4 |
| ||
If you are really clever, you can create the email with the embedded encoded image data without creating any intermediate files. Parts 4) and 5) are the important bits of the process. Once you understand that, it's all pretty easy after that. :-) |
| ||
k thank u... |