Link to home
Start Free TrialLog in
Avatar of scrathcyboy
scrathcyboyFlag for United States of America

asked on

Mozilla Experts - how to specify from sender in a mailto: link

mailto:you@yourdomain.com?subject=hello

That specifies a subject.
I need to specify the SENDER of the mail -- say account1 out of 5 separate mozilla accounts.

It should be simple, but the following do NOT work --

mailto:you@yourdomain.com?from=account1@mydomain.com
mailto:you@yourdomain.com?sender=account1@mydomain.com
mailto:you@yourdomain.com?from:account1@mydomain.com
mailto:you@yourdomain.com?sender:account1@mydomain.com

Remember, this has to insert the right email address in the From: field of Mozilla mail.
Ideas?
Avatar of callrs
callrs

<A href="mailto:you@yourdomain.com?subject=Test&from=account1@mydomain.com&sender=account1@mydomain.com">Click me</a>

Sender & from mean the same thing, no?
O wait, use reply-to, or replyto
4. Message Specification
4.1. SYNTAX
Note:  Due to an artifact of the notational conventions, the syntax  indicates that, when present, some fields, must be in a particular order.  Header fields  are  NOT  required  to occur  in  any  particular  order, except that the message  body must occur AFTER  the  headers.   It  is  recommended that,  if  present,  headers be sent in the order "Return-Path", "Received", "Date",  "From",  "Subject",  "Sender", "To", "cc", etc.
From : http://www.w3.org/Protocols/rfc822/Overview.html#z7

Too much to wade through there at this time...will look it up later. :-p
Avatar of scrathcyboy

ASKER

This is NOT - repeat NOT - an HTML link.  

This is a mailto: link on the desktop, which opens mozilla mail to send a mail to the recipient.  The sender is an ACCOUNT in Mozilla, onoe of 5, and it needs to load that as the From:  in Mozilla Mail.

This is totally different than a web link.
I believe you have to tell Mozilla which profile that the email is associated with, to open to send that email from.

Take a look at this page for more help. http://www.mozilla.org/docs/command-line-args.html They do say it's outdated though in the KB's here.
http://kb.mozillazine.org/Command_line_arguments

On Windows, right-click the Mozilla shortcut icon and choose Properties. In the Target input box of the Shortcut tab, put the command option after the quote, for example
"C:\Program Files\Internet\Mozilla\mozilla.exe" -P "Joel User" -compose "to=foo@nowhere.net"

Read the syntax rules here. http://www.mozilla.org/docs/command-line-args.html#Syntax_Rules
Thanks for the input, but I am not trying to open Mozilla with command line arguments.  Mozilla is already opened with the main profile as active.  All I am trying to do is open a link from Pesonal Toolbar or the Desktop, or somewhere else, that will open a mail window that specifies the "From:" account JUST for that particular mail correspondence, even though all profiles are open and Mozilla is running.  You can see their mindless oversight of this important issue in their mail list of things you can specify:

    * to=foo@nowhere.net
    * subject=cool page
    * attachment=www.mozilla.org
    * attachment='file:///c:/test.txt'
    * body=check this page

Everything BUT the " From: "  right?  Are they too stupid to realize that the " From: " is a VERY crucial consideration in email? -- sending a mail from the wrong account could be catastrophic in some cases.
Correction in above -- "even though all profiles are open" should have been "all ACCOUNTS".  This is not an issue of opening a new profile -- there is only one profile -- but with 5 separate email accounts in that profile.  This is the NORMAL way you run Mozilla mail -- changing profiles is a big nuisance.
OK, thanks for the clarification.  Yes, I did notice that the From was lacking.  

Just so we're on the same page.  OS is ?  And you are running Mozilla Seamonkey, correct?  What version?

You are NOT running Mozilla Thunderbird, correct?
Mozilla for windows 32 with mail and browser -- BTW, this is more stable than Firefox, but there are certain "gotchas" which the Mozilla group seem too dim to be aware of.  But it is 10000X better than OE.

Thunderbird and Firefox are not Mozilla, they are different products, Mozilla is the remade Netscape.
I would like a solution to my original question, can you find an answer from the Mozilla.org discussions?
I can post it to the Mozilla Seamonkey forums, yes.  I can't find any references to Mozilla past version 1.7.13
http://www.mozilla.org/releases/mozilla1.7.13/  in which the page itself was last updated 4-19-2006.
http://developer.mozilla.org/devnews/index.php/2006/04/12/sunset-announcement-for-fxtb-10x-and-mozilla-suite-17x/

I will post the question and give you a link in case you want to get involved over there as well.
Can you please copy and paste your Help->About Mozilla version here for me so I can be talking with the correct information?

Thunderbird and Firefox are made by the Mozilla organization.  Mozilla for windows is the remade Netscape, but the creators of it have changed names along the way, so the Version you give me will help me pinpoint the correct people.

http://forums.mozillazine.org/viewtopic.php?t=30715

You said> Are they too stupid to realize that the " From: " is a VERY crucial consideration in email? --<  

Possibly.  
Thank you VERY MUCH !!
The about link he quotes does not imply Mozilla is capable of handling a " From: " in the command line arguments, it seems to be a massive oversight in the email design...

Can you get this "oversight" to the attention of anyone in the development team who really knows what is going on ?
ASKER CERTIFIED SOLUTION
Avatar of Marc Z
Marc Z
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks, and remind them that Mozilla mail is FAR better than Thunderbird, and I find Mozilla browser is more stable than Firefox.  As is often the case, developers head in the wrong direction, only to see years later that people give up on their products ... and then they wonder why.  The Mozilla following is because there are lots of people who realize that Mozilla is/was the best product they ever made.
BTW, it is the latest version, 1.7.13
So what is the result - mtz1of4 ??
Any knowledgeable input from that thread?  
I have never got value from that BB beyond what I can figure out myself.

What is the general conclusion about my question?  Can it be done?
Is this a major failing/oversight, or what?  
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You put so much effort into this, I maxed the points and awarded the correct answer to "You cant do that" -- which is the truth of this oversight.

The reason a separate profile wont work is that this needs to be done from the main profile, and instead of the default account, you want the desktop link or toolbar link to specify that the sender is account2, not account1.  It is a VERY SIMPLE expectation -- but the developers are too chaotic to do it, because the multiple accounts was a late thought in Netscape, and no one really ever got it to work right -- but it doesnt work right in any mozilla product either.

So the answer is, as is too often the case -- myopic and incomplete programming.

Thanks a ton for all your help.  I like people that stick with challenges, drop in on my Qs again if you can, mtz1of4, I have enjoyed your help on this one.
Glad to help.  Sorry we couldn't get it worked out, but one more thought that just popped up from someone over at the Moz forums was to
"Consider removing saved passwords. Inconvienent, but if the user has to both fail to select the right sending account and enter the wrong password, your odds of making a mistake on an email are reduced."
No the problem is, they never conceived of a from= or sender= in the quesry string for opening a mail -- they thought of everything BUT the from=  -- because this was all designed before Netscape had the capability for multiple mail accounts, and I am sure that no one at mozilla even understands the crucial importance of this feature, so they never even bothered to fix it.  Thanks, I'm closing this thread now.