Sending Emails with Attachments VBA

前端 未结 4 1501
没有蜡笔的小新
没有蜡笔的小新 2021-01-19 19:09

I am trying to add an attachment functionality to my emails. My email code is working however the attachments are being sent as ATT00001.bin files.

The variable Form

4条回答
  •  清酒与你
    2021-01-19 20:00

    Instead of .Attachments.Add attachmentlnkvar have you tried .AddAttachment attachmentlnkvar? That's what I use to send PDF reports via an SMTP server instead of Outlook.

提交回复
热议问题