S
Steve Hiemstra
Hi All,
You on a workstation logged on as a specific user, and you want to use
SmtpMail
(System.Web.Mail.SmtpMail) to send an e-mail from your program.
The form of the method to send an e-mail is:
SmtpMail.Send(from, to, subject, body);
I already know who the message is going 'to', the 'subject', and the
'body'.
But I can't have the user type in their e-mail address because the app doing
all this 'behind the scenes'.
How can I get the e-mail address of the current user programmatically?
Thanks in Advance,
SteveH
You on a workstation logged on as a specific user, and you want to use
SmtpMail
(System.Web.Mail.SmtpMail) to send an e-mail from your program.
The form of the method to send an e-mail is:
SmtpMail.Send(from, to, subject, body);
I already know who the message is going 'to', the 'subject', and the
'body'.
But I can't have the user type in their e-mail address because the app doing
all this 'behind the scenes'.
How can I get the e-mail address of the current user programmatically?
Thanks in Advance,
SteveH