We use ASINET to send out emails. Even if we put in CRLF's, the body of the email appears as one long single paragraph.
Is there any way to format emails easily so you can put in blank lines, or space text into columns, etc.
Cliff.
Formatting of emails via ASINET
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Formatting of emails via ASINET
Your emails are being sent as HTML.
You either need to format them as TEXT or do the following:
You either need to format them as TEXT or do the following:
Code: Select all
cBody := Strtran(cBody,Chr(13)+Chr(10),'<br>')
The eXpress train is coming - and it has more cars.
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Formatting of emails via ASINET
Thanks, we had the contenttype of text/html without even knowing it. Was from some code I copied. What is the type for straight text. We did it in html anyway because we needed a columnar table which with even text is not real code as text form in many email readers use a proportionately spaced font that would not line up anyway.
Use the dchtmltable command to build the table.
Cliff.
Use the dchtmltable command to build the table.
Cliff.
Re: Formatting of emails via ASINET
Cliff,Cliff Wiernik wrote:Thanks, we had the contenttype of text/html without even knowing it. Was from some code I copied. What is the type for straight text. We did it in html anyway because we needed a columnar table which with even text is not real code as text form in many email readers use a proportionately spaced font that would not line up anyway.
Use the dchtmltable command to build the table.
Cliff.
You might want to consider using BOTH the CRLF and the html < br > .. some email clients might display differently..
Brian
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises
-
- Posts: 605
- Joined: Thu Jan 28, 2010 9:11 pm
- Location: Steven Point, Wisconsin USA
- Contact:
Re: Formatting of emails via ASINET
Thank for the suggestion. Did not test how a non-html email client would respond.
Cliff.
Cliff.