-
Email link syntax, multiple name in send line
I tried adding two people for the send line but the semicolon get dropped when the Outlook email dialog appears.
Is there way to add two or more people and, if so, what is the proper syntax?
JDoe@xyz.com; DSmith@abc.com subject:Request to update this web page
-
Re: Email link syntax, multiple name in send line
Use:
mailto:user1@domain.dom, user2@domain.dom
Each email address seperated by a comma.
-
Re: Email link syntax, multiple name in send line
Hi Steve, I already tried that and it doesn't work. :(
Outlook chokes on the comma (and space) and reads both names as one addressee.
-
Re: Email link syntax, multiple name in send line
I don't use Outlook, but it works for me.
-
Re: Email link syntax, multiple name in send line
John use the comma and space as Steve mentioned.
Outlook will display it with the comma until it verifies the names.
You can force the verification by clicking the Check Names button on the Ribbon bar in Outlook 2007. I don't recall where that button is located in older versions of outlook.
-
Re: Email link syntax, multiple name in send line
Bill, the "space" after the comma gets dropped so the send line looks something like this in Outlook:
name@abc.com,name@xyz.com. That is interpreted as one email address by Outlook.
-
Re: Email link syntax, multiple name in send line
John try:
mailto:someone@yoursite.com?cc=someoneelse@theirsi te.com
-
Re: Email link syntax, multiple name in send line
You can also try to create spaces using the hex code - for example %20
Outlook should recognise this?
So it would look like:
mailto:user1@domain.net,%20user2@domain.net
A more complex line which would include CC and BCC, plus include a subject line and body message would be:
mailto:person1@domain.net?CC=person2@domain.net&BC C=person3@domain.net&Subject=Free%20lunch&Body=Hi% 0DEveryone%20is%20invited%20to%20this%20free%20lun ch.%20Bring%20a%20friend.%0D%0DSteve
%0D = hex for a line break
PS: Ignor the space BC C= and lun ch, vBulletin does this with long strings.
PPS: You can leave out mailto: and disable auto-correct. The filter will add this for you.
-
Re: Email link syntax, multiple name in send line
John if you are using fake addresses for testing they cannot and will never verify.
If you use actual online email addresses they will verify either when you click the send button, you click the check names button, or if you are composing the email they will verify once Outlook gets an acknowledgement that the addresses exist.
The two email addresses I have been using for tests do exist but I will not reveal them publicly.
BTW they are gmail accounts.
-
Re: Email link syntax, multiple name in send line
Bill, surely verifiying is not the problem is it? You can type fake email addresses in offline mode when creating a draft can't you?
I know you could in OE.
-
Re: Email link syntax, multiple name in send line
Outlook will incorrectly interpret fake addresses in the text it receives, until it can verify the address from the email server within the address.
If using @abc.com and @xyz.com there are no email servers on the internet with those addresses, or if they do exist they cannot find an addressee with the specified name.
When I created my test page the addresses came in as name@gmail.com,name2@gmail.com, but after a couple of minutes they resolved to the correct form of name@gmail.com; name2@gmail.com in the address list and underlined indicating they are indeed valid addresses.
The web page itself never verifies addresses so any thing with an @symble will show as a link.
-
Re: Email link syntax, multiple name in send line
Of course I did not use name and name2 in my tests. ;))
In off line mode you can enter anything and Outlook will not complain but will do exactly as John has reported. It literally interpret anything upto a semicolon as an address.
Once you go online Outlook will verify the address before sending to any address. All verified addresses will go as soon as verified. Any nonverified addresses will attempt to be resolved in the background until the process times out. At that time an error may or may not popup depending on your individual settings for errors.
-
Re: Email link syntax, multiple name in send line
Hi guys:
I am not using fake email addresses for my tests.
When I publish my .xar file (via version 5 pro):
1- the space between the comma and the last name gets dropped and
2- if I use semicolons, they get dropped.
A workaround (good for two email addresses only) is to put a space after the first email address, followed by "cc:emailaddress.com" for the second email address. But it would be desirable add all email addresses to the "To ..." line.
If I MANUALLY type in valid emails into the Outlook "To ..." line using commas, the names are not validated. That I guess, could be an issue in how our company's Outlook is configured.
I'll try and send .xar file to one or both of you if you like. Check the web properties for the "Updates" button.
Regards, John
-
1 Attachment(s)
Re: Email link syntax, multiple name in send line
John Outlook does not allow commas to separate email addresses. It uses a semicolon.
To pass multiple addresses from web page to Outlook you separate the addresses with a comma and a space character in the mailto: link.
Yes the space will be dropped when Outlook initially displays the addressees.
Outlook will attempt to verify the addresses and upon receipt of verification it will reformat them so they will be separated with a semicolon.
On my machine and a 12MB/sec internet connection the verification from gmail.com returns in approximately 2 minutes.
The time for verification depends on the internet connection speed if you are running Outlook in standalone mode (no MS Exchange server).
If you are running Outlook as a client of an Exchange server the verification can take longer but will occur before the email is physically sent by the Exchange server.
All the above information is according to how Microsoft Outlook Professional Plus 2007 works on my machine, without an Exchange server.
If you are running Outlook as a client of an Exchange server you may never see the email addresses resolve and reformat on your machine. They will appear with a comma without a space between the addresses. However, Exchange will verify the addresses before actually sending them.
-
Re: Email link syntax, multiple name in send line
If your addressees are in your Outlook Contacts, they will resolve to correctly formatted addresses. This is regardless of using Outlook in standalone or Exchange client configuration.
-
Re: Email link syntax, multiple name in send line
Isn't all this 'Outlook' talk just this clouding the issue Bill?
Not everyone who clicks Johns' mailto links will be using Outlook.
All he seems to want is to setup the link to add two email recipients which as I have shown is perfectly possible and simple.
I don't know if John has bothered to try my strings with the hex codes or not, but I'm fairly certain there should be no problems.
-
Re: Email link syntax, multiple name in send line
Steve, I did not see your HEX CODE posting. I will give it a try.
-
Re: Email link syntax, multiple name in send line
Yes I was hoping post#7 and post#8 might be helpful John. Please try then let me know how it goes :)
-
Re: Email link syntax, multiple name in send line
Steve and Bill, I inserted hex code %3B%20 (which equals ;"space") between email addresses and it was accepted and processed by Outlook without hesitation.
Thank you for your patience.
Regards, John
-
Re: Email link syntax, multiple name in send line
-
Re: Email link syntax, multiple name in send line
As suggested by John via an email, I have added an overview to the Web Designer resource links thread for future reference:
► http://www.talkgraphics.com/showpost...15&postcount=3