I have a VB6 application that I run from my portable hard drive. I would like to send emails from within that VB app via Portable Thunderbird. I've seen ways that involve making Thunderbird the default email client, however, that is not an option for me. Has anybody done this? If so, please post a VB6 code example.
Thanks, Mark
You are here
Visual Basic to Thunderbird
August 3, 2007 - 10:57pm
#1
Visual Basic to Thunderbird
to Thunderbird via commandline.
“I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong.” - Richard P. Feynman
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
Thanks. I assume that means I can call TB from VB6, with the email in the command line. Then do I need to shut down that instance of TB before sending another email via the command line?
Mark
THe commandline-option is
thunderbird -compose "mailto:somebody@somewhere?cc=address@provider&subject=hi&body=something"
“I can live with doubt and uncertainty and not knowing. I think it is much more interesting to live not knowing than to have answers that might be wrong.” - Richard P. Feynman
"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate
If you're coding it you can do ether way. Set up the program to function just like a email program sending mail itself, or passing the same set of variables to an outside program.
It would take to much space to post examples here, go to www.codeproject.com and search in the VB section. Lots of examples and code there.
----------------------:)
Did you know that the entire operating system use to fit on a 5 1/4" floppy disk!
You might use BLAT the commandline mailer or BLAT.DLL from your VB application. Its free and efficient. See http://www.blat.net
L.W.