Jump to content

_INetMail get an Error


viper67
 Share

Recommended Posts

Hello

Can you help me ?

I get an Error when using _INetMail.

Message:

Line 88 ("C:\Programme\AutoIt3\Include\Inet.au3")

Return Run(StrgReplace(Regread('HKCR\mailto\shell\open\command',"), '%1', _INetExplorerCapable ('mailto:'&$s_MailTo & '=?subject=' & $s_MailSubject & '&body=' & $s_MailBody)))=0

Error:Unable to execute the externel program.

Das System kann die angegebene Datei nicht finden.

#include <INet.au3>

$Address = InputBox('Address', 'Enter the E-Mail address to send message to')
$Subject = InputBox('Subject', 'Enter a subject for the E-Mail')
$Body = InputBox('Body', 'Enter the body (message) of the E-Mail')
MsgBox(0,'E-Mail has been opened','The E-Mail has been opened and process identifier for the E-Mail client is ' & _INetMail($address, $subject, $body))

I use Windows XP German Version and Autoit latest Version.

Thanx for your help.

Viper67

Link to comment
Share on other sites

what e-mail client do you have installed on your pc?

if no client installed, for example outlook then won't work.

Opens default user's mail client with given address, subject, and body.

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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