• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 730
  • Last Modified:

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?
0
scrathcyboy
Asked:
scrathcyboy
  • 11
  • 7
  • 3
2 Solutions
 
callrsCommented:
<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?
0
 
callrsCommented:
O wait, use reply-to, or replyto
0
 
callrsCommented:
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
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
scrathcyboyAuthor Commented:
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.
0
 
Marc ZCommented:
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
0
 
scrathcyboyAuthor Commented:
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.
0
 
scrathcyboyAuthor Commented:
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.
0
 
Marc ZCommented:
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?
0
 
scrathcyboyAuthor Commented:
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?
0
 
Marc ZCommented:
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.  
0
 
Marc ZCommented:
0
 
scrathcyboyAuthor Commented:
Thank you VERY MUCH !!
0
 
scrathcyboyAuthor Commented:
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 ?
0
 
Marc ZCommented:
I can try, but you do have to realize Mozilla as you know it, seems to be closing out with their focus on Firefox and Thunderbird.  There certainly does seem to be quite a following of Seamonkey, though.

This may be one of those questions that just have the answer "You Can't Do that".  BUT, we can certainly see if we can get someone to figure it out for us.  The extension writers can be very resourceful.

I'll search through their Bugzilla to see if anyone seems to be working on this.
0
 
scrathcyboyAuthor Commented:
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.
0
 
scrathcyboyAuthor Commented:
BTW, it is the latest version, 1.7.13
0
 
scrathcyboyAuthor Commented:
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?  
0
 
Marc ZCommented:
Sorry, I haven't gotten back to you.  Kind of still hoping for something from the mozillazine bunch.
Kind of got this suggestion but it's the same as opening Mozilla with a command prompt rather than a shortcut for you.
From ledgermain,
"Create a profile to be used just for sending the messages. Put only the desired sending email account into this profile. I'll call the profile sendonly. Invoke seamonkey with something like
seamonkey -P sendonly -compose mailto:test@localhost?subject=automated%20email&body=this%20is%20the%20body%20of%20the%20message

I'd suggest also setting this alternate profile's preferences to not delete messages from the pop3 server, and to not check automatically. You may consider adding a BCC field to the url so you can keep a record of the outgoing messages. With that and a filter to check for a custom header and move the email to a different folder, you can have a fairly functional setup.

Does that work for you?"


Scratchyboy said,
"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. "

Wouldn't a simple Reply command work for you?  If it is in reference to a certain mail correspondence, why would you need to change the From?
I'm really not following your line of reasoning here anymore.  I think I'm getting confused.

Have a look through the https://bugzilla.mozilla.org/ if you are so inclined.

I can't see a fix for you here, currently.
0
 
scrathcyboyAuthor Commented:
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.
0
 
Marc ZCommented:
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."
0
 
scrathcyboyAuthor Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 11
  • 7
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now