I'm trying to send zip files via the SMTPSendMail approach.
Larger files, or slower PC's, result in an error if the time to assemble the attachement requires a bit more than 10 minutes.
I was hoping that settting the SMTP_TIMEOUT to a larger number would help; but, no joy.
It seems like the SMTPSendMail requires a lot more time to execute than an Outlook attach file and email.
I've noticed some of the scripts for using Outlook; but, not a clear approach for adding attachments by specifying a file name.
Perhaps I'm missing something in the available scripts?
Thanks,
Carl
Large File Attachments Get SMTP 10054 Error
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
The question of how to add attachments to an Outlook email object seems to come up roughly once a week. Each time it comes up I search for "outlook attachment" (without quotes) in the search box at the top right of the site and find the answer. I wonder why it only works when I do that
See:
http://www.mjtnet.com/forum/viewtopic.php?t=5590
I don't know why SMTPSendMail is failing. The difference though is that it is communicating directly with the mail server, whereas if you send by outlook you're just putting an email into it's queue for later delivery and it handles the communication with the server.
See:
http://www.mjtnet.com/forum/viewtopic.php?t=5590
I don't know why SMTPSendMail is failing. The difference though is that it is communicating directly with the mail server, whereas if you send by outlook you're just putting an email into it's queue for later delivery and it handles the communication with the server.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?