<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 18/05/2011 23:17, Brad Beckenhauer wrote:
<blockquote cite="mid:4DD3FF47020000680008BEC0@smtp.aafp.org"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 9.00.8112.16421">
<div>In version 4.01 the csv uploads has been replaced by a
multiple recipients function, which I'm ok with but my Support
folks asked about limitations and formatting options.</div>
<div> </div>
<div>I've looked through the change log and help for information
describing what formatting can be used to paste recipients into
the dialog box and could not find anything.</div>
</blockquote>
No, I haven't written any, sorry. You should find that most sensible
formats including quotes and <> work okay. It's reasonably
intelligent.<br>
<br>
It's written on the same basis I have always used in MailScanner.
It's my job to make the code intelligent and flexible enough that
99% of the time it can work out what you meant if you do something
vaguely sensible. Then I don't need to list every available
permutation of formatting that is allowed, it will "just work".<br>
<br>
Furthermore, when you paste in a bunch of addresses and click the
"Add" button, it only removes from the list those that it could
understand. So if any addresses are left behind, they just need
fixing and then you press the "add" button again to have another go
at those. If they all disappeared when you pressed the "add" button,
then you got all the formatting right and it could understand them.<br>
<blockquote cite="mid:4DD3FF47020000680008BEC0@smtp.aafp.org"
type="cite">
<div> </div>
<div>I've done abit of testing in the multiple recipients dialog
box and the following formats work:</div>
<div> </div>
<div>
<div>johndoe<a moz-do-not-send="true"
href="mailto:johndoe@aaa.com">@aaa.com</a></div>
<div>1John Doe-work johndoe<a moz-do-not-send="true"
href="mailto:johndoe@aaa.com">@aaa.com</a></div>
<div>"2John Doe without a comma after the double quote" johndoe<a
moz-do-not-send="true" href="mailto:johndoe@aaa.com">@aaa.com</a></div>
<div>"3John Doe with a comma after the double quote", johndoe<a
moz-do-not-send="true" href="mailto:johndoe@aaa.com">@aaa.com</a><br>
'4John Doe without a comma after the single quote' johndoe<a
moz-do-not-send="true" href="mailto:johndoe@aaa.com">@aaa.com</a><br>
'5John Doe with a comma after the single quote', johndoe<a
moz-do-not-send="true" href="mailto:johndoe@aaa.com">@aaa.com</a></div>
</div>
</blockquote>
Also you are allowed <> around the email address, as this
format occurs frequently too.<br>
<blockquote cite="mid:4DD3FF47020000680008BEC0@smtp.aafp.org"
type="cite">
<div>
<div> </div>
<div>The logic seems to be testing for the presence of the @
sign for parsing based on my testing.</div>
</div>
</blockquote>
Yes. It basically does something like this:<br>
Look for a word with an @ in it. Remove that word, remove any
<> around it and use that as the email address.<br>
Take everything left, remove leading and trailing whitespace, quotes
and commas, and use that as the name.<br>
<blockquote cite="mid:4DD3FF47020000680008BEC0@smtp.aafp.org"
type="cite">
<div>
<div> </div>
<div>Since most folks I know here are going to paste csv files
into the dialog box are there any limitations I should share
with them?</div>
</div>
</blockquote>
It's not really designed for CSV files any more (hence no reference
to CSV in the user interface), but almost any common format will
work okay.<br>
<blockquote cite="mid:4DD3FF47020000680008BEC0@smtp.aafp.org"
type="cite">
<div>
<div> </div>
<div>How many rows can we paste into the Multi-recipient box?</div>
</div>
</blockquote>
There isn't a hard limit, but your browser may impose one. It's all
implemented in Javascript in the browser, the web server isn't
involved in adding recipients to the list at all.<br>
<blockquote cite="mid:4DD3FF47020000680008BEC0@smtp.aafp.org"
type="cite">
<div>
<div> </div>
<div>And I love the verify box, I just wish it was wider by
default (I'll have to find the bit that governs the size).</div>
</div>
</blockquote>
Which box do you mean?<br>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
'All programs have a desire to be useful' - Tron, 1982
</pre>
</body>
</html>