I don't think that's right:
## Loop through To list via multiple RCPT TO lines
foreach toto $tolist {
if [regexp {.*<(.*)>} $toto ig address] {
set toto $address
}
_ns_smtp_send $wfp "RCPT TO: $toto" $timeout
_ns_smtp_recv $rfp 250 $timeout
}
The rfc specifies it like this:
MAIL FROM:<userx@y.foo.org>
RCPT TO:<userc@d.bar.org>
so aolserver would have to do that:
## Loop through To list via multiple RCPT TO lines
foreach toto $tolist {
if [regexp {.*<(.*)>} $toto ig address] {
set toto $address
}
_ns_smtp_send $wfp "RCPT TO:<$toto>" $timeout
_ns_smtp_recv $rfp 250 $timeout
}
and while we're at it we might as well join the processing of the $tolist above and the $bcclist - they do the same.