![]() |
Problem editing the customer registration email. |
Post Reply
|
Page 12> |
| Author | ||
JWL
Senior Member
Joined: 15-August-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
Quote Reply
Topic: Problem editing the customer registration email.Posted: 26-December-2008 at 11:58am |
|
|
I followed the instructions on which lines to edit in the languages.asp file - but when I go to the my account pages like custpref.asp - I get this error:
Microsoft VBScript compilation error '800a0409' Unterminated string constant /boutique/includes/languages.asp, line 1256 dictLanguage.Add "english_storeEmail_20", Edited by JWL - 26-December-2008 at 11:59am |
||
![]() |
||
netprofits
Certified ProductCart Developers
Joined: 05-January-2006 Location: United States Status: Offline Points: 22 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-December-2008 at 12:04pm |
|
|
after the comma, you need to have your text in quotes. If you don't want to display any text, you still need to have the quotes, i.e.:
dictLanguage.Add "english_storeEmail_20", ""
|
||
![]() |
||
Greg Dinger
Certified ProductCart Developers
Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-December-2008 at 12:04pm |
|
|
You probably missed a quote, or have a quote in the string that's not being handled correctly. Please paste the 20-23 lines here.
on edit, ok - looks like Dan has identified your issue. Edited by Greg Dinger - 26-December-2008 at 12:05pm |
||
![]() |
||
JWL
Senior Member
Joined: 15-August-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-December-2008 at 1:00pm |
|
|
Thanks for the quick replies... no, that's the first thing I thought of. I had a list <ul> at the end of this line:
dictLanguage.Add "english_storeEmail_20" Edited by JWL - 26-December-2008 at 1:05pm |
||
![]() |
||
ProductCart
Admin Group
ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-December-2008 at 1:11pm |
|
|
You certainly can have HTML code in language.asp as long as there are no double quotes or line breaks. In this particular case. make sure that there are no line breaks in your code. The entire Unordered List code must reside on the same line. That is:
... and not:
Also, remember that if the e-mail is sent as text, the HTML will not be parsed. E-mails in ProductCart are normally sent as text, unless you edit "sendmail.asp" to force HTML in all cases. Edited by earlyimp - 26-December-2008 at 1:14pm |
||
![]() |
||
JWL
Senior Member
Joined: 15-August-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-December-2008 at 1:16pm |
|
|
"Also, remember that if the e-mail is sent as text, the HTML will not be
parsed. E-mails in ProductCart are normally sent as text, unless you
edit "sendmail.asp" to force HTML in all cases."
Yea... I got the email to send... but I think there is a character limit to each line, because I moved the <ul> list to the english_storeEmail_21 line, and I don't get the same error as before. What code do I change in the sendemail.asp to make the registration emails html instead of plain text. Edited by JWL - 26-December-2008 at 1:18pm |
||
![]() |
||
Greg Dinger
Certified ProductCart Developers
Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-December-2008 at 1:22pm |
|
|
Some mail components may not like HTML emails. When I install my HTML Drop Ship PO mod, I occasionally have to run tests until I find a mail component that will produce the correct results.
Try changing to another component and you may be successful with that.
|
||
![]() |
||
JWL
Senior Member
Joined: 15-August-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-December-2008 at 5:54pm |
|
|
I don't know what you mean by components.
|
||
![]() |
||
Greg Dinger
Certified ProductCart Developers
Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-December-2008 at 6:19pm |
|
|
In settings, email settings, see:
Select a Component
|
||
![]() |
||
JWL
Senior Member
Joined: 15-August-2008 Status: Offline Points: 0 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-December-2008 at 7:38pm |
|
|
I think the CPO is the only one I could get to work with godaddy smtp... how do you change the html/text setting in the sendemail.asp.
Edited by JWL - 26-December-2008 at 7:38pm |
||
![]() |
||
Post Reply
|
Page 12> |
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |