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.


5 posts

Wannabe Geek


Topic # 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
4311 posts

Uber Geek
+1 received by user: 152

Mod Emeritus
Trusted
Lifetime subscriber

  Reply # 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.  

BDFL - Memuneh
61341 posts

Uber Geek
+1 received by user: 12094

Administrator
Trusted
Geekzone
Lifetime subscriber

Reply # 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.





Create new topic

Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:



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.

Alternatively, you can receive a daily email with Geekzone updates.