加入收藏 | 设为首页 | Life家族 | SCMLife | RMLife | PMLife | SQALife | TESTLife | 企业VIP专区 | 中文化荣誉殿堂

查看完整版本: 如何使CQ发送的邮件中能带附件

star123 2008-5-7 22:28

如何使CQ发送的邮件中能带附件

在网站搜了下,都是用VB实现的。
我的CQ库用的是perl,用perl该怎么写呢?
这个在IBM上找的,是用VB
[url]http://www.ibm.com/developerworks/rational/library/3885.html[/url]

scmtata 2008-5-8 13:42

1. vb
Add
Description
Adds an Attachment object to the collection.
Note: This method is for Visual Basic only.

2.perl
AddAttachment
Description
Adds an Attachment object to the collection.
Note: This method is for Perl only.
eg:
$theAttachments->AddAttachment("c:\\attach1.txt","attachment description")

star123 2008-5-9 20:52

回复 沙发 的帖子

这个只是添加附件吧,我需要的是在CQ执行某个ACTION的时候发个邮件,并带上附件.
论坛上有用VB实现的方法,但我的schema用的是PERL,不知可否实现

scmtata 2008-5-10 11:27

回复 板凳 的帖子

啥意思,不太清楚你的意思
add 添加,不就是带上附件吗?
页: [1]
查看完整版本: 如何使CQ发送的邮件中能带附件