TCP/IP

BlitzMax Forums/BlitzMax Programming/TCP/IP

gameshastra(Posted 2007) [#1]
hi,
could anyone explain me how can we draw an image in blitzmax and send it to a mail id.


xlsior(Posted 2007) [#2]
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


Brucey(Posted 2007) [#3]
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. :-)


gameshastra(Posted 2007) [#4]
k thank u...