如何发送.pdf文件为blat附件? [英] How can I send a .pdf file as blat attachment?

查看:201
本文介绍了如何发送.pdf文件为blat附件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试用blat(使用Shell VBA的Shell命令)发送带有附件的邮件。

I try to send a mail with an attachment with blat (with the Shell command of Access VBA).

我尝试发送一个.txt文件时,一切正常。

All works fine while I try to send a .txt file

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

但如果我尝试发送.pdf文件,使用相同的命令

but if I try to send a .pdf file, with the same command

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

我没有收到邮件。

提前感谢任何建议。

推荐答案

查看文件名length;我只是一个进程失败了一个文本文件,因为NAME太长了。

Take a look at the file name 'length'; I just had a process fail with a text file cuz the NAME was too long.

失败:

ar_snP_shot.txt

成功:

ar_snP.txt

还可以使用命令行'debug'选项来看看发生了什么。你的日志怎么说btw?

Also use the command line 'debug' option to see whats going on. What does your log say btw?

这篇关于如何发送.pdf文件为blat附件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆