Sign in to follow this  
Followers 0
Leopardfist

How can I call a php file on my web server

6 posts in this topic

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

Share this post


Link to post
Share on other sites



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


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites

Thanks PincoPanco. 

Share this post


Link to post
Share on other sites

I use blat to send emails from AutoIt scripts.

 

Thanks Willichan, if my program is used by someone without blat installed will it fail? 

Share this post


Link to post
Share on other sites

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.

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