有没有办法在发送之前检查我的邮件是否有附件?
我已经在发送代码之前添加了延迟。
我的代码已经正常工作并且完美地添加了附件,但是我只是好奇Appleogle是否允许这样的案例进行防御性编码?
tell theMessage
make new to recipient at end with properties {address:"xyz@abc.com"}
make new attachment with properties {file name:attachmentFullName} at after last paragraph
end tell