Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


premni

5 posts

Wannabe Geek


#11232 10-Jan-2007 19:07
Send private message

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]

Create new topic
bradstewart
4338 posts

Uber Geek
+1 received by user: 166

Retired Mod
Trusted
Lifetime subscriber

  #57527 10-Jan-2007 19:23
Send private message

This is your second identical post. I have locked the other thread

Please do not do this again as it's against the forum usage guidelines.  



freitasm
BDFL - Memuneh
80646 posts

Uber Geek
+1 received by user: 41029

Administrator
ID Verified
Trusted
Geekzone
Lifetime subscriber

#57535 10-Jan-2007 20:45
Send private message

Are you using ASP? If so, just create a standard HTML form with POST to your script (or to the page itself). Use variable = REQUEST("variable") to load the values and use variable throughout the script.

Otherwise it's just coding like any other procedural script.





Referral links: Quic Broadband (free setup code: R587125ERQ6VE) | Samsung | AliExpress | Wise | Sharesies 

 

Support Geekzone by subscribing (browse ads-free), or making a one-off or recurring donation through PressPatron.

 


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.