Leopardfist Posted October 10, 2013 Share Posted October 10, 2013 I'd like to call my PHPMail function on my web server, is it possible using autoit? I would like to send a very simple email, which only the end user emial will change. Constant: myname@email.com Constant: Subject Constant: Message Body Variable: User email - entered thru my program and used to register the new user. I tried INetSmtpMail function but it wont work with a secure email server. I tried Jos' INetSmtpMailCOM program but it relies upon CDO library which end users MAY NOT have installed since it is not included with windows anymore. I just want to send an email in my program when the user registers, no attachments, no html, same body each time, only change is the end user email. Since I cant find an autoit function to do it, I am now trying to resolve the problem any way I can Link to comment Share on other sites More sharing options...
Gianni Posted October 11, 2013 Share Posted October 11, 2013 hi leopardfirst, if you already have a web page that interface to your php email script then you could use that page and automate it by IE.AU3 functions. In practice you could use the web interface in the middle between the PHP script and the functions in ie.au3 of autoit. search _ie* functions in the help file bye Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
Leopardfist Posted October 11, 2013 Author Share Posted October 11, 2013 Thanks PincoPanco. Link to comment Share on other sites More sharing options...
willichan Posted October 11, 2013 Share Posted October 11, 2013 I use blat to send emails from AutoIt scripts. My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
Leopardfist Posted October 11, 2013 Author Share Posted October 11, 2013 I use blat to send emails from AutoIt scripts. Thanks Willichan, if my program is used by someone without blat installed will it fail? Link to comment Share on other sites More sharing options...
willichan Posted October 11, 2013 Share Posted October 11, 2013 You can have your program install it. It is just a single .exe file. Drop it into a temp folder, then delete it when you are done. If it will be used a lot, then install it in an appropriate location for frequent use and leave it there. My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now