Sign in to follow this  
Followers 0
bobheart

button click send email ?

9 posts in this topic

I looked around but didn't find aything how do you do a button click and send an email ?

So say I want someone to click the button and it opens thier email with my email address in it ?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Not sure is that you mean but...

You can execute, when the user clicks the button, a command like:

Run(@comspec & ' /c start mailto:ezzetabi@katamail.com','',@sw_hide)

Edited by ezzetabi

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Came up with an error about not associated with this program ?

The dos box .

Edited by bobheart

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Strange, it works for me...

Maybe it works only in Win2000/Xp?

Or maybe you have no default program for emails?

Edited by ezzetabi

Share this post


Link to post
Share on other sites

Try blat or bmail command line tools to actually send an email to a recipient instead of just popping up the mail program.


Who else would I be?

Share this post


Link to post
Share on other sites

But do you want send a email or pop up the program?

Share this post


Link to post
Share on other sites

You can even use AutoIT to create the HTML file, run the HTML file, then have AutoIT delete it when the script ends... That way the "mailto:" information can change if need be.

Sorry, to duplicate if that's what you meant Ivan.

Ian


"Blessed be the name of the Lord" - Job 1:21Check out Search IMF

Share this post


Link to post
Share on other sites

Thanks for the help guys .

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