Sending emails

Blitz3D Forums/Blitz3D Programming/Sending emails

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yes, it is possible. There is a simple example on the code archives,

You will need to learn how to encode attachments and will need to read up on SMTP.
Edit. Well maybe not, I forgot about this...
http://www.blitzbasic.com/codearcs/codearcs.php?code=1448

Outlook integration may be a bit more difficult and I suspect require a DLL interface unless you can access the outlook address file directly which I doubt is possible given Microsofts new concerns about security, but hey who knows :) Thinking about it though, maybe Outlook allows you to export the address book in some easily readable format? That may be worth looking into.

Edit. I have just checked and you should be able to export to a CSV file which can be easily parsed by Blitz. See http://help.yahoo.com/help/us/ab/impexp/impexp-15.html

I am sure all of this would be easier to do from within Outlook itself though, perhaps with some scripting. That is the avenue I would explore first anyway. If you ask nicely on some MS support forum someone may even come up with a script for you.