You can, of course, use the technique for all of the other fields.
Especially since the other fields are probably not sensitive
information. Actually, there's no need for them to see any of this
information. Just hardcode it unless you might need to use it to send
to other domains or use different user names.
-----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>
|