smtp::sendmail fails to send email that
looks like [email protected].
As far as I know having an email address with a dot (".") as the
last char before @ should be RFC compliant.
I checked email address using this regexp:
regexp {^[a-z0-9\.\-\_]+\@[a-z0-9]([a-z0-9\-\_]+\.)+[a-z0-9\-\_]+$} $mail
I'm using tcllib 1.12 (ubuntu 10.10).
This the actual error message:
Sending to [email protected]: prova.pdf
error in To: expecting colon to terminate route (found end-of-input)
while executing
"error "error in $who: $aprops(error)""
(procedure "smtp::sendmessage" line 260)
invoked from within
"smtp::sendmessage $multiT -servers yoursmtpserver.com -header [list From "[email protected]"] -header [list To $rcpt] -header [list Subject "this is the subject..."
("foreach" body line 13)
invoked from within
"foreach rcpt $recipients {
set this_image $file
# create an image and text
set imageT [mime::initialize -canonical \
..."
|