This is a discussion on Text email formating within the v4 Questions & Support forums, part of the Help & Support category; I switched off HTML emails and I'm just going to use the text emails. I noticed if I leave 1 ...
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
I switched off HTML emails and I'm just going to use the text emails. I noticed if I leave 1 space between a sentence or paragraph it shows as 3 spaces in the email. Here's an example-
Hi username, You have been sent the following email from a visitor to our site regarding your listing at mydomain.com. -------------------------------------------------------------------- Name: chris Email: email@mydomain.com Message: test Listing URL: http://www.mydomain.com/listingurl -------------------------------------------------------------------- Best regards, Admin In the template I have it like this - {assign var='subject' value='You have a new message!!'} {textformat wrap=68} Hi {$to_username}, You have been sent the following email from a visitor to our site regarding your listing at mydomain.com. -------------------------------------------------------------------- Name: {$name} Email: {$fromemail} Message: {$comments} Listing URL: {$listing_url} -------------------------------------------------------------------- Best regards, admin {/textformat} See how the first email is all spaced out? Does anyone know where to go to fix this?
__________________
Version 4.0.3 Developer |
|
#2
|
||||
|
||||
|
I am not sure if this will fix it but could you try deleting the extra spaces in the template and since it is added them then it might just work.
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
#3
|
||||
|
||||
|
I took out all of the spaces, but for some reason the program is written to put a space for every break. So if I do this:
hello! thank you for contacting us! It appears as this: hello! thank you for contacting us! This puts spaces when you don't want them, even though you need to make line break for a new sentence. I think the only solution is to just use HTML emails for now.
__________________
Version 4.0.3 Developer |
|
#4
|
||||
|
||||
|
You might can also try changing this:
{textformat wrap=68} to: {textformat wrap=68 wrap_char=""} Not sure if that will help or not though. Here is where I found this: http://www.smarty.net/manual/en/lang...textformat.php
__________________
Eric Barnes 68 Classifieds Developer Please do not send me a private message asking for support. Instead use these open forums or our ticket system. Customer Area | Issue Tracker | Documentation | 68C Mods | Submit a Ticket | Twitter |
|
#5
|
||||
|
||||
|
I used that method and some of the other ones shown on that page, but didn't turn out the way I wanted it.
I'll just go with HTML email. I guess I'm always about text email because back in the day everyone didn't have a email program that could read HTML email. It's a lot different now, and HTML is much more widely used and accepted now.
__________________
Version 4.0.3 Developer |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Banned Email Addresses | Success | v4 Questions & Support | 5 | 04-11-2008 09:36 AM |
| Email notify users of new or modified listing | abkeller | v3.1 Modules & Modifications | 9 | 07-03-2007 05:23 PM |
| Validation email is empty | Mike-N-Tosh | v3.1 Questions & Support | 1 | 02-11-2007 08:13 PM |
| Renewal E-mails... HTML or Plain Text? | flyingpylon | v3.1 Questions & Support | 2 | 11-01-2006 04:24 PM |