为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 3 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 Lang Stallard

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