Solved

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

Posted on 2006-06-27
21
662 Views
Last Modified: 2013-11-18
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
Comment
Question by:scrathcyboy
  • 11
  • 7
  • 3
21 Comments
 
LVL 30

Expert Comment

by:callrs
ID: 16996097
<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
 
LVL 30

Expert Comment

by:callrs
ID: 16996127
O wait, use reply-to, or replyto
0
 
LVL 30

Expert Comment

by:callrs
ID: 16996291
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
 
LVL 44

Author Comment

by:scrathcyboy
ID: 16996469
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
 
LVL 30

Expert Comment

by:mtz1of4
ID: 17003539
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
 
LVL 44

Author Comment

by:scrathcyboy
ID: 17004810
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
 
LVL 44

Author Comment

by:scrathcyboy
ID: 17004828
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
 
LVL 30

Expert Comment

by:mtz1of4
ID: 17004975
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
 
LVL 44

Author Comment

by:scrathcyboy
ID: 17006447
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
 
LVL 30

Expert Comment

by:mtz1of4
ID: 17012137
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 30

Expert Comment

by:mtz1of4
ID: 17012210
0
 
LVL 44

Author Comment

by:scrathcyboy
ID: 17012333
Thank you VERY MUCH !!
0
 
LVL 44

Author Comment

by:scrathcyboy
ID: 17012556
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
 
LVL 30

Accepted Solution

by:
mtz1of4 earned 500 total points
ID: 17013454
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
 
LVL 44

Author Comment

by:scrathcyboy
ID: 17014173
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
 
LVL 44

Author Comment

by:scrathcyboy
ID: 17014187
BTW, it is the latest version, 1.7.13
0
 
LVL 44

Author Comment

by:scrathcyboy
ID: 17054043
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
 
LVL 30

Assisted Solution

by:mtz1of4
mtz1of4 earned 500 total points
ID: 17068752
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
 
LVL 44

Author Comment

by:scrathcyboy
ID: 17068838
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
 
LVL 30

Expert Comment

by:mtz1of4
ID: 17069442
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
 
LVL 44

Author Comment

by:scrathcyboy
ID: 17069570
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

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Are you using email marketing software? If not, you're missing out on effortless marketing and the reaching of desired conversion rates through email marketing software.
Every business owner understands the significance of online customer reviews and the impact it can have on sales and revenues. With technology advancing at such a rapid pace, getting online reviews has never been easier, especially when many regions…
This video teaches users how to migrate an existing Wordpress website to a new domain.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now