Sign in to follow this  
Followers 0
QAuser

attachment (insert as text) in mail

5 posts in this topic

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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Now there's me thinking this is an AutoIT forum!

If you want to use AutoIT, then as a starting point you might seek the Outlook UDF via the search box on this page.

William

Share this post


Link to post
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
Sign in to follow this  
Followers 0