Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - (re)send welcome email
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

(re)send welcome email

 Post Reply Post Reply
Author
dj_nomercy View Drop Down
Newbie
Newbie


Joined: 12 February 2006
Location: Netherlands
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj_nomercy Quote  Post ReplyReply Direct Link To This Post Topic: (re)send welcome email
    Posted: 12 February 2006 at 2:18am
Hello,
We have a forum for our clients, so nobody can register him self
we do that with the admin but when we make a new account in the admin it isnt send to the email we filled in.
  1. How can i (re)send a welcome email with the username and password to a user we created in the admin

 

Back to Top
ub3rl337ch3ch View Drop Down
Senior Member
Senior Member
Avatar

Joined: 16 February 2005
Location: Australia
Status: Offline
Points: 341
Post Options Post Options   Thanks (0) Thanks(0)   Quote ub3rl337ch3ch Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2006 at 10:45pm
well one way would be to look at the database itself and send an email manually... easier if you only have to do it once... if you want an easily *repeatabe* solution: welcome to the wonderful world of cdo...
 
 
Set emailvar = CreateObject("CDO.Message")
Set configvar = CreateObject("CDO.Configuration")
configvar.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "123.123.123.123"
configvar.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
configvar.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
configvar.Fields.Update
 
Set emailvar.Configuration = configvar
 
sql = "SELECT username, password, email where id=" & theid
vrec.open sql, adoCon
 
emailvar.to = vrec("email")
emailvar.from = whatever email you want (prolly admin@yoursite.com)
emailvar.subject = "Your Login Details"
emailvar.textbody = "Login: " & vrec("username") & vbcrlf & vbcrlf & "Password: "  & vrec("password")
emailvar.send
 
 
then close all your stuff and you're done...
 
 
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.