Jump to content
Sign in to follow this  
TheBib

_INetMail and quote

Recommended Posts

TheBib

Hi,

I try to create an automatic email from autoit including a shortcut to a file (in Lotus Webmail).

To create a shortcut in lotus, the syntax is "file://C:\Program Files\AutoIt3\AutoIt3.exe" with the quote...

I have create a small script (1 line) to put this text in the clipboard :

ClipPut("""file://" & $CmdLine[1] & """")

With this, all is ok. If I paste my clipboard in an email, the link is ok.

Now, I want to automaticaly open an email with this line...

The line

_INetMail('', '', 'This is a test')
work fine but not the script below

$Body = '""' & 'This is a test' & '""'
_INetMail('', '', $body)

Any help will be appreciated...

Regards

Share this post


Link to post
Share on other sites
99ojo

Hi,

just for information:

Haven't have any problems with your code and outlook express and Lotus Notes 6.5. It seems to be a problem of your mail client.

Works fine:

#include <inet.au3>
;1st try
$body = 'This is a test'
_INetMail('', '', $body)
;2nd try
$Body = '""' & 'This is a test' & '""'
_INetMail('', '', $body)

But 2 nd gives ""This is a test"" as body in Lotus Notes but not in OE. In OE both bodies are This is a test

;-))

Stefan

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.