How can I send a .pdf file as blat attachment?
-
I try to send a mail with an attachment with blat (with the Shell command of Access VBA). All works fine while I try to send a .txt file blat ... -attach c:\mydir\myfile.txt but if I try to send a .pdf file, with the same command blat ... -attach c:\mydir\myfile.pdf I don't receive the mail. Thanks in advance for any suggestions.
-
Answer:
The file type by itself shouldn't matter with BLAT, but your email provider might be balking at the size of PDF you're trying to send, or may restrict sending PDF files altogether. I'd say check with the mail provider and see if they have any such restrictions. Meanwhile you could rename the PDF to text and ask the recipient to rename it back to PDF, but that would be a wonky and hopefully short-term workaround.
Davide at Stack Overflow Visit the source
Other answers
that should work. do you have spaces in the file name or directories? c:\test\my file.pdf
Keng
Take a look at the file name 'length'; I just had a process fail with a text file cuz the NAME was too long. Failed: ar_snP_shot.txt Succeed: ar_snP.txt Also use the command line 'debug' option to see whats going on. What does your log say btw?
Keng
Related Q & A:
- How do I convert a PDF file to PDF/A in Delphi?Best solution by softwarerecs.stackexchange.com
- How do I open a pdf file in my e'mail attachment?Best solution by Yahoo! Answers
- How can I send a file to a friend on Hotmail?Best solution by askdavetaylor.com
- How can I send a big attachment in my mail?Best solution by Yahoo! Answers
- How can I send a big file with attachments with yahoo email?Best solution by worldstart.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.