Hi
I dont know whether or not anyone has come across this?
When a new user registers, the emails fire off to the user and the admin email if chosen in the program.
The email for the user works fine but the admin email never arrives??? (the email address is correct by the way)
I have checked the code and it appears fine, apart from the ind=1 second line? Not sure what this refers to.
SCRIPT:
message = "New user just registered for the Online Document facility at http://" & Request.ServerVariables("SERVER_NAME") & Request.ServerVariables("SCRIPT_NAME") & vbCrLf
ind=1
strLabel = "Username"
message = message & strLabel & ": " & Session("userinfo_fldUID") & vbCrLf
strLabel = "Password"
message = message & strLabel & ": " & Session("userinfo_fldPWD") & vbCrLf
strLabel = "Email"
message = message & strLabel & ": " & Session("userinfo_fldEmail") & vbCrLf
strLabel = "Existing Client"
message = message & strLabel & ": " & Session("userinfo_Existing Client") & vbCrLf
strLabel = "Company Name"
message = message & strLabel & ": " & Session("userinfo_Company Name") & vbCrLf
sendmail "helpdesk@virtual-salesman.co.uk", "New FODD User Registration", message
if strMessage="" then registered=true
Tried it both with and without the ind=1 bit and no joy.
Anyone got any ideas.
Nath