Sign in to follow this  
Followers 0
robin24

Sending e-Mails with AutoIt?

7 posts in this topic

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



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                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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

Hullo :)

AutoIt help > search > mail > _INetSmtpMail

Share this post


Link to post
Share on other sites

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

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                                                          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  
Followers 0