Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 3 respostas
  • 2 have this problem
  • 5 views
  • Last reply by 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 [email protected],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 "[email protected]", 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 [email protected],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 "[email protected]", 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

All Replies (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?