Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Spam quarantine email code frustration
  FAQ FAQ  Forum Search   Register Register  Login Login

Spam quarantine email code frustration

 Post Reply Post Reply
Author
jacksun View Drop Down
Newbie
Newbie


Joined: 24 February 2005
Status: Offline
Points: 31
Post Options Post Options   Thanks (0) Thanks(0)   Quote jacksun Quote  Post ReplyReply Direct Link To This Post Topic: Spam quarantine email code frustration
    Posted: 04 March 2005 at 2:18pm
Hi, I am by no means a programmer but I am obviously missing something very simple in my attempts to alter the email message sent to users after they sign up for the web based quarantine access.
These are the four lines of code that generate:

Your password to access the CCS quarantine area is: 219654 Please ensure you change your password after you log in
 
Message = Message & "Content-Type: text/html;charset=""ISO-8859-1""" & vbCRLF & vbCRLF
 Message = Message & "Your password to access the CCS quarantine area is: " & Password & vbCRLF
 Message = Message & "Please ensure you change your password after you log in " & vbCRLF
 Message = Message & "." & vbCRLF
 
I want it to read:
Your password to access the CCS quarantine area is: 219654.

Please ensure you change your password after you log in etc etc.....

Multiple &vbCRLF after the lines does not seem to make a difference.

What am I missing?

Thanks,

Wayne

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: 04 March 2005 at 5:08pm

Hmmmm.   This is what I do:

Message = Message & "Your password to access the CCS quarantine area is: " & Password & vbCRLF & "<br><br>"

Dan S.



Edited by Desperado
The Desperado
Dan Seligmann.
Work: http://www.mags.net
Personal: http://www.desperado.com

Back to Top
kspare View Drop Down
Senior Member
Senior Member


Joined: 26 January 2005
Location: Canada
Status: Offline
Points: 334
Post Options Post Options   Thanks (0) Thanks(0)   Quote kspare Quote  Post ReplyReply Direct Link To This Post Posted: 06 March 2005 at 1:42pm

Just to add to what Dan said. the <br> in the code will give you a carriage return.

The best way I found to write my code for my pages, is to write it in front page, then covert all the code into a single line and format it for VB. Just my 2 cents.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.195 seconds.