QAuser Posted October 21, 2010 Posted October 21, 2010 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
QAuser Posted October 21, 2010 Author Posted October 21, 2010 Heycan 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
saywell Posted October 21, 2010 Posted October 21, 2010 Heycan 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 itselfWhat 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
QAuser Posted October 21, 2010 Author Posted October 21, 2010 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.WilliamHere 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)Endwithhas 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
saywell Posted October 21, 2010 Posted October 21, 2010 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now