Thank you for your reply. I may be heading in the wrong direction. I believe that xlsx needs base64 encoding. I used the following to encode the data
.my $buf; use MIME::Base64 qw(encode_base64); open(FILE, "$attachfile") or die "$!"; binmode(FILE); while (<FILE>){ $buf .=$_; } $buf = encode_base64($buf); $smtp->datasend($buf);
Is this the right direction. I did run it with the above change and recieve the same error as before
.In reply to Re: Net:::SMTP and Attaching a xlsx
by deg01004
in thread Net:::SMTP and Attaching a xlsx
by deg01004
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |