Jump to content

_INetMail and quote


TheBib
 Share

Recommended Posts

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

Link to comment
Share on other sites

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

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...