Jump to content
Sign in to follow this  
robin24

Sending e-Mails with AutoIt?

Recommended Posts

robin24

Hi all,

is there a function in AutoIt that lets me connect to an SMTP server, authentificate and send an e-Mail? Thanks!

Robin

Share this post


Link to post
Share on other sites
Jos

You need to look for _INetSmtpMailCom() in the examples forum when you want to do Authenticated SMTP email....

:)


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
robin24

Hi,

thanks, but I haven't found anything helpful yet. Can anyone post a how to please? That would be great!

Robin

Share this post


Link to post
Share on other sites
Killerthibs

Hullo :)

AutoIt help > search > mail > _INetSmtpMail

Share this post


Link to post
Share on other sites
Bert

Hi,

thanks, but I haven't found anything helpful yet. Can anyone post a how to please? That would be great!

Robin

it is in the helpfile.
#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))

Share this post


Link to post
Share on other sites
Jos

Hi,

thanks, but I haven't found anything helpful yet. Can anyone post a how to please? That would be great!

Robin

http://www.autoitscript.com/forum/index.ph...INetSmtpMailCom


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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.