Damien56546 Posted January 13, 2009 Posted January 13, 2009 (edited) Just a little notifier script: I've got it for the most part working: #include <INet.au3> $Address = InputBox('Address', 'Enter the E-Mail address to send message to') $subject= "New Account" $Username = InputBox('Enter client Username', 'Enter Clients username') $username2=GUICtrlRead($Username) $Body = 'Hello, your username is $username2' MsgBox(0,'E-Mail has been opened', & _INetMail($address, $subject, $body)) Slight problem, I want to be able to put the 'username' that is entered into the box, into the body of the message. Not too sure how to go about it ? Is it possible ? Another thing, is there a way to get rid of that autoit icon in the top left of the entry boxes? This isn't a big deal. Thankyou. Edited January 13, 2009 by Damien56546
Prab Posted January 13, 2009 Posted January 13, 2009 You can change the autoit icon by using the full compiler. That will let you choose whatever icon you want. What you probably want to do is change $Body = 'Hello, your username is $username2' to $Body = 'Hello, your username is ' & $username2 but I'm not exactly sure if thats what you mean. FolderLog GuiSpeech Assist
Damien56546 Posted January 14, 2009 Author Posted January 14, 2009 You can change the autoit icon by using the full compiler. That will let you choose whatever icon you want.What you probably want to do is change$Body = 'Hello, your username is $username2' to$Body = 'Hello, your username is ' & $username2but I'm not exactly sure if thats what you mean.$Body = 'Hello, this is just a message to inform you that your Harnessweb account has been setup for the Victoria Database with the password you requested at the time. Please note that your username to login is '& $username^^ THIS works, when the email opens up it includes what I type in the box.But I can't write anything after that. I want to add text after the username is put in. How do I keep writing? I'm getting errors.
azure Posted January 14, 2009 Posted January 14, 2009 $Body = 'Hello, this is just a message to inform you that your Harnessweb account has been setup for the Victoria Database with the password you requested at the time. Please note that your username to login is '& $username ^^ THIS works, when the email opens up it includes what I type in the box. But I can't write anything after that. I want to add text after the username is put in. How do I keep writing? I'm getting errors. $Body = 'Hello, this is just a message to inform you that your Harnessweb account has been setup for the Victoria Database with the password you requested at the time. Please note that your username to login is '& $username & 'and this is me typing additional text. Blah Blah Blah!' Like that?
Damien56546 Posted January 14, 2009 Author Posted January 14, 2009 Thanks. That works great. Finally, I want to add in so that it sends the email once it opens up. I can't use : Send("^s") Why ?
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