email - How can I send a .pdf file as blat attachment? -


I try to send mail with an attachment with an attachment (with the shell command of access VBA)

When I try to send a .txt file, then all works well

  blat ... -attach c: \ mydir \ myfile.txt  

But if I try to send a .pdf file, then

  blat ... -attach c: \ mydir \ myfile.pdf  < / Pre> 

I did not get the mail.

Thanks in advance for any suggestions.

File type should not make any difference to BLAT by itself, but the size of your email provider PDF Can run on whatever you are trying to send, or stop sending the PDF file completely.

I would say check with the mail provider and see if they have such restrictions. In the meantime, you can convert the PDF to the name of the text and ask the recipient to name it back in the PDF, but it is a startling and hopefully short-term solution.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -