gettingstarted
[Top] [All Lists]

RE: Email: finding address, port, username, password

To: "'Getting Started'" <gettingstarted at lists dot realsoftware dot com>
Subject: RE: Email: finding address, port, username, password
From: "RBNUBE" <rbnube at mabenterprises dot com>
Date: Thu, 28 Oct 2004 23:09:25 -0500
Delivered-to: gettingstarted at lists dot realsoftware dot com
Importance: Normal
Keywords: rb-gettingstarted
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>

<Prev in Thread] Current Thread [Next in Thread>