I'm not sure what you mean by "...from the system," but you can hardcode
the password by making the password editfield a password editfield by
clicking "Password" in the Appearance panel of the IDE. In Initial
State of the Appearance panel, set the Text to the password.
When the program opens, the password field will be filled out, appear as
asterisks and the user will not be able to copy the password from the
field either by keyboard commands or menu item.
If you open the application in a hex editor (or even a word processor)
someone could still figure out your password.
-----Original Message-----
From: gettingstarted-bounces at lists dot realsoftware dot com
[mailto:gettingstarted-bounces at lists dot realsoftware dot com] On Behalf Of
Barry Lumpkin
Sent: Thursday, October 28, 2004 5:58 PM
To: gettingstarted at lists dot realsoftware dot com
Subject: Email: finding address, port, username, password
Dim mail as EmailMessage
Dim file as EmailAttachment
Dim i as Integer
Dim s as String
SMTPSocket1.address = "mail.mySMTPServer.com"
SMTPSocket1.port = 25
SMTPSocket1.username = usernameFld.text //get username from
editfield
SMTPSocket1.password = passwordFld.text //get password from
Editfield
In the above example, variables are supplied by programming or an
editfield. Is there a way to get the variables from the system so that
the user and/or programmer doesn't have to know them?
I'd like to have a program send data back to me in an email attachment
with the user only having to click on a button.
Barry
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|