Jump to content

Recommended Posts

Posted (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 by Damien56546
Posted

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.

Posted

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.

$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.

Posted

$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?

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...