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

搜索 | 用户支持

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

详细了解

Send eMail via Thunderbird with filled "Email information" when using multiple profiles

  • 3 个回答
  • 2 人有此问题
  • 5 次查看
  • 最后回复者为 Matt

more options

Hello.

I hope you can help me.

We are using two Thunderbird profiles: "Sales" and "Purchases".

We have thunderbird links for both of them on the desktop: This is how we call start the firefox profiles: Purchases: "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" -no-remote -p Purchases Sales: "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" -no-remote -p Sales

(-no-remote is needed to start Thunderbird with two instances at once, -p <Profile> is to choose the profile)

Everything works so far.

Now we have an application which calls the "write"-dialog of thunderbird. (the dialog where you can send eMails) When calling the "write"-dialog, the fields of this dialog (from, to, subject, and the text body) should be filled by parameters.

The application uses following call:

thunderbird.exe -compose to=example@test.com,subject="example subject line",body="this is the example body" -no-remote -p Sales

That means that the send dialog of the Sales-Profile-Thunderbird should be opened with the "sales" profile. (email receiver is filled with "example@text.com", subject is "example subject line", and the text is "this is the example body")

The Problem: This works only if thunderbird with the "Sales" profile is not already running. If Thunderbird with the "Sales" profile is already running, Thunderbird is telling that the process is already running and should be closed first.

Before adding the second profile "Purchases", we only used "Sales" profile, and we started thunderbird without "-no-remote -p Sales". With only one profile and without "-no-remote -p Sales", every worked well. But with 2 profiles, the user always have to close thunderbird first before calling the "write"-dialog from our application.

Is there something I can do? Maybe changing the call used by our application to show the write-dialog?

If you need more information, or something is not clear enough, let me know.

Best regards

M. Jaeger

Hello. I hope you can help me. We are using two Thunderbird profiles: "Sales" and "Purchases". We have thunderbird links for both of them on the desktop: This is how we call start the firefox profiles: Purchases: "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" -no-remote -p Purchases Sales: "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" -no-remote -p Sales (-no-remote is needed to start Thunderbird with two instances at once, -p <Profile> is to choose the profile) Everything works so far. Now we have an application which calls the "write"-dialog of thunderbird. (the dialog where you can send eMails) When calling the "write"-dialog, the fields of this dialog (from, to, subject, and the text body) should be filled by parameters. The application uses following call: thunderbird.exe -compose to=example@test.com,subject="example subject line",body="this is the example body" -no-remote -p Sales That means that the send dialog of the Sales-Profile-Thunderbird should be opened with the "sales" profile. (email receiver is filled with "example@text.com", subject is "example subject line", and the text is "this is the example body") The Problem: This works only if thunderbird with the "Sales" profile is not already running. If Thunderbird with the "Sales" profile is already running, Thunderbird is telling that the process is already running and should be closed first. Before adding the second profile "Purchases", we only used "Sales" profile, and we started thunderbird without "-no-remote -p Sales". With only one profile and without "-no-remote -p Sales", every worked well. But with 2 profiles, the user always have to close thunderbird first before calling the "write"-dialog from our application. Is there something I can do? Maybe changing the call used by our application to show the write-dialog? If you need more information, or something is not clear enough, let me know. Best regards M. Jaeger

所有回复 (3)

more options

You are trying to use the same profile twice at the same time. You cannot do that. If you just use the shortcut for Thunderbird and then write the messages from there, that should work. You should be able to use templates to send pre-arranged messages out.

more options

I don't want to open a profile twice.

I just want to call a child window of a profile via "-compose".

My problem is: I can't use -compose when the application is still running with -no-remote. (both with the same profile)

Is there a way to start thunderbird via "-compose" while thunderbird is still running with "-no-remote"?

more options

command line arguments here https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options

Perhaps the issue here is your desire for a separate profile for sales and purchases. That looks to me to be where the rot starts. Now your trying to start a third instance.

So how about you explain what it is your trying to achieve, as you can not be the only person in the world wanting to use email in a business.

I see a reference to a write dialog from your application. Is it your writing an application and trying to make Thunderbird work the way you have designed your application and it simply does not do that?