Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
kk6 Absent Member.
Absent Member.
529 views

Im able send an email via Silk Test Workbench .net script i like add an attachment to it. can anyone help me on it.

I'm able to send an email via Silk Test Workbench using .net script

I like to add an attachment to the email.

can anyone help me with it?

0 Likes
3 Replies
Micro Focus Contributor
Micro Focus Contributor

RE: Im able send an email via Silk Test Workbench .net script i like add an attachment to it. can anyone help me on it.

Check out this link for instructions

stackoverflow.com/.../vb-net-send-email
//*eggbox
0 Likes
kk6 Absent Member.
Absent Member.

RE: Im able send an email via Silk Test Workbench .net script i like add an attachment to it. can anyone help me on it.

Hi Eggbox,

Thanks for ur reply. I'm able to send email using .net script which i do have already, is it possible to add attachment to it.
0 Likes
Micro Focus Contributor
Micro Focus Contributor

RE: Im able send an email via Silk Test Workbench .net script i like add an attachment to it. can anyone help me on it.

These are links to the to the MSDN topics, look at the Attachment class, there is an example there.

msdn.microsoft.com/.../system.net.mail.smtpclient.aspx
msdn.microsoft.com/.../system.net.mail.attachment.aspx
//*eggbox
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.