Welcome to Webhost4life Forum Sign in | Join | Faq

Classic ASP

Started by cajun67 at 09-11-2005 9:35 PM. Topic has 3 replies.

Print Search
Sort Posts:    
   09-11-2005, 9:35 PM
cajun67 is not online. Last active: 9/10/2005 5:36:20 AM cajun67

Top 100 Posts
Joined on 09-10-2005
Posts 3
aspmailer script
Reply Quote
I downloaded the aspmailer script from the control panel, and I've got it working great, except that everything seems to run together on one line (not so great).

I've played around with it, but can't figure out how to get it to format properly; at least to put a carriage return at the end of each field.


   Report 
   09-19-2005, 10:19 AM
dberry is not online. Last active: 9/20/2005 1:10:37 AM dberry

Top 500 Posts
Joined on 09-20-2005
Posts 1
Re: aspmailer script
Reply Quote

Put  & vbCrLf after each line to get a carriage return. If you want a double space put & vbCrLf & vbCrLf


   Report 
   09-21-2005, 2:18 AM
moth is not online. Last active: 9/21/2005 11:50:56 PM moth

Top 500 Posts
Joined on 09-21-2005
Posts 1
Re: aspmailer script
Reply Quote

Hi,

I use a version of the aspmailer script but have no problems with the line feeds.  The script uses a standard line feed character and you could expand this to include a carriage return.

There are 2 lines you need to adjust - look for Chr(10) in the script and change it to vbCrLf e.g:

Change:

strOut = strOut & strKeys(intCnt) & "=" & strValues(intCnt) & Chr(10)

To:

strOut = strOut & strKeys(intCnt) & "=" & strValues(intCnt) & vbCrLf

Hope that helps

moth


   Report 
   09-22-2005, 8:57 PM
cajun67 is not online. Last active: 9/10/2005 5:36:20 AM cajun67

Top 100 Posts
Joined on 09-10-2005
Posts 3
Re: aspmailer script
Reply Quote
That's awesome. Thanks!

   Report 
Webhost4life Fo... » General Discuss... » Classic ASP » aspmailer script

Powered by Community Server, by Telligent Systems