how do i check my computer domain/server name? i am currenly developing a web site that will send email with the user password to the user who have forgotten their password...but i cant seem to get the exact domain name? and do you know how to create the form for sending email for user who have forgotten the password.?
the code below is what i was trying with...
please help!!!
Sub sSendReminder(vEmail, vPassword)
Dim MyMail
Set MyMail = Server.CreateObject("SMTPsvg.Mailer")
With MyMail
.ServerAddress = "smtp.tm.com.my"
.Sender = "):[email address removed]"
.AddRecipient vEmail
.Subject = "Requested password."
.Body = "Your password is: " & vPassword
.Execute
End With
Set myMail=nothing
[Moderator edit (bradstewart): Email removed to prevent spam]
#
