Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Empty FROM: when sending web password
  FAQ FAQ  Forum Search   Register Register  Login Login

Empty FROM: when sending web password

 Post Reply Post Reply
Author
Alec Skelly View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alec Skelly Quote  Post ReplyReply Direct Link To This Post Topic: Empty FROM: when sending web password
    Posted: 16 December 2004 at 3:58pm

When a user registers for web access they never get the email with the password.  It looks like our Exchange server is refusing it because the FROM: field is invalid (empty).  How can I set that address?

Thanks

 

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

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 16 December 2004 at 7:18pm

Your Register.asp should look something line this:

'Send message to new user by way of the quarantine.
MessageDate = Now
Message = "From: Administrator <
support@yourdomain.com>" & vbCRLF
Message = Message & "To: " & EMail & vbCRLF
Message = Message & "Subject: Your quarantine area password" & vbCRLF
'****** Revision 6-11-03 ******
Message = Message & "Date: " & FormatDateTime(MessageDate, vbLongDate) & " " & FormatDateTime(MessageDate, vbLongTime) & vbCRLF
Message = Message & "Content-Type: text/html;charset=""ISO-8859-1""" & vbCRLF & vbCRLF
Message = Message & "Thank you for registering for your Spam Manager access." & vbCRLF & vbCRLF
Message = Message & "Your quarantine area Login is " & Email & vbCRLF & vbCRLF
Message = Message & "Your quarantine area password is " & Password & vbCRLF
Message = Message & "The first time you log in please select the " & vbCRLF
Message = Message & "link to change your password to a new value." & vbCRLF

Message = Message & "." & vbCRLF
SQL = "SELECT * FROM tblMsgs WHERE 0 = 1"
rs.Open(SQL)
rs.AddNew
rs("Msg") = Message
rs.Update
MsgID = rs("MsgID")
rs.Close
SQL="SELECT * FROM tblQuarantine WHERE 0 = 1"
rs.Open(SQL)
rs.AddNew
rs("EMailFrom") = "
support@YourDomain.com"
rs("EMailTo") = EMail
rs("Subject") = "Your quarantine area password"
rs("MsgID") = MsgID
rs("MsgDate") = MessageDate
rs("Expire") = 0
rs("Deliver") = 1
'****** Revision 6-12-03 ******
rs("ServerID") = 5
'******************************
rs("RejectDetails") = ""
rs("RejectID") = 0
rs.Update
rs.Close
Set rs = Nothing

Regards,

Dan S.

Back to Top
Alec Skelly View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Alec Skelly Quote  Post ReplyReply Direct Link To This Post Posted: 16 December 2004 at 8:14pm

That did it.

Thanks!

 

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.258 seconds.