Jump to content

attachment (insert as text) in mail


QAuser
 Share

Recommended Posts

Hey

can anybody help to do an attachment as text in a mail. I know how to do a normal attachment but i want to attach some file in my mail an insert this attachment as text to the mail.

I tried so many stuff and searched also in internet without success. so i hope anybody can help me here.

Thanks

Link to comment
Share on other sites

Hey

can anybody help me how to do an attachment as text in a mail. I know how to do a normal attachment but i want to attach some file in my mail an insert this attachment as text to the mail.

I tried so many stuff and searched also in internet without success. so i hope anybody can help me here.

Thanks

I forgot to tell that i need the autoit script of this procedure not the procedure itself

Link to comment
Share on other sites

Hey

can anybody help me how to do an attachment as text in a mail. I know how to do a normal attachment but i want to attach some file in my mail an insert this attachment as text to the mail.

I tried so many stuff and searched also in internet without success. so i hope anybody can help me here.

Thanks

I forgot to tell that i need the autoit script of this procedure not the procedure itself

What is your code for doing it with a 'normal attachment' ?

You'll find you'll get more help here if you specify what you've already done, preferably with the code you've tried so far.

William

Link to comment
Share on other sites

What is your code for doing it with a 'normal attachment' ?

You'll find you'll get more help here if you specify what you've already done, preferably with the code you've tried so far.

William

Here is a part of my code with normal attachment:

With $oOMail

.To = $olTo

.Subject =$testcase

$attachemnt = @ScriptDir & "\data.rtf"

.attachments.add ($attachemnt)

.Body=_ClipBoard_GetData(49331)

Endwith

has u can see i save some data in the clipboard and put it in the mail body. But i want to put the data.rtf attachment as a text attachment in my mail and that is my problem.

thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...