搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How do I change the 'default' e-mail address used for sending?

more options

I have two e-mail accounts set up on Thunderbird, a personal one and one I use for the small charity that I run.

I have written a program in VB6 to send small batches of HTML e-mails out to the latter group. This works fine, except...

All the e-mails go out with my personal address as the From address. The VB6 program has no facility for asking for a From address, so clearly Thunderbird is grabbing this from somewhere. Is it just the first account it comes to in my Accounts page? Does it look somewhere in the profile for this? Can I make it look for a different address or look elsewhere?

Any suggestions welcomed!

I have two e-mail accounts set up on Thunderbird, a personal one and one I use for the small charity that I run. I have written a program in VB6 to send small batches of HTML e-mails out to the latter group. This works fine, except... All the e-mails go out with my personal address as the From address. The VB6 program has no facility for asking for a From address, so clearly Thunderbird is grabbing this from somewhere. Is it just the first account it comes to in my Accounts page? Does it look somewhere in the profile for this? Can I make it look for a different address or look elsewhere? Any suggestions welcomed!

所有回覆 (3)

more options

I assume you are initiating the email using mapi and Thunderbird is not running before hand.

Go to the outgoing server (smtp) entry in the account settings dialog and change the default sending account. This only applies if Thunderbird is started by the mapi conversation. If the program is running the default is set by the currently selected account in the folder pane (confusing when you use anything but the all folders view as to which account is actually selected.)

more options

I thought you might have cracked it for me, Matt - but no!

The system stubbornly refuses to use anything other than my normal private address. In the program, there is the line "MAPIMessages1.MsgOrigAddress=xxxxxx" which contains the address I want to use. The default in Thunderbird is set to the charity account. I have tried both with TB running and closed, and with the charity account Inbox selected and on every occasion, the e-mail it sends has my private address on it!

I'm thinking of giving up! :-)

more options

When I use the "all folders" view I do not see a folder for each account. That is because I have a common Inbox for a number of accounts. The default is set to the only account that is separate. I want to set it to one of the accounts sharing the common Inbox