You are here

Visual Basic to Thunderbird

6 posts / 0 new
Last post
MJCoins
Offline
Last seen: 17 years 3 months ago
Joined: 2007-08-03 22:39
Visual Basic to Thunderbird

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

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
You can pass whole emails

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

MJCoins
Offline
Last seen: 17 years 3 months ago
Joined: 2007-08-03 22:39
Thanks. I assume that means

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

Simeon
Simeon's picture
Offline
Last seen: 10 years 1 month ago
DeveloperTranslator
Joined: 2006-09-25 15:15
I dont know

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

DaveWest
Offline
Last seen: 16 years 9 months ago
Joined: 2006-12-11 23:16
VB6

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!

L.Willms
Offline
Last seen: 17 years 3 months ago
Joined: 2007-08-15 06:08
Have a look at BLAT

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.

Log in or register to post comments