This is G o o g l e's cache of http://www.ubercart.org/forum/support/1547/html_mail as retrieved on Aug 3, 2007 20:38:11 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?q=cache:CAMcD31U9ocJ:www.ubercart.org/forum...
Google is neither affiliated with the authors of this page nor responsible for its content.
These search terms have been highlighted: 07 24 2007
Ubercart
* Home
* Documentation
* Forums
* Issues
* Livetest
Home » Forums » Ubercart » Support
HTML Mail
Submitted by Davy on Tue, 07/24/2007 - 14:58
Davy
Posts: 4
Joined: 07/24/2007
First of all some info :
I am fairly new to drupal ( and php, and css, and mysql haha), but I am a programmer in most other languages so I am learning fast Eye-wink
I started with the ecommerce module first,but that really sucked.
Then I found ubercart, and I am much much happier now.
Keep up the great work !
Now for my problem :
I cannot get the confirmation/notification mail going. It arrives, at the admin and customer, but its in plain text and is basically the contents of the customer.itpl.php file.
I know this may be a drupal problem because it normally doesn't support HTML mail.
I tried the htmlmail module, but the same thing happens, but now there are added and tags, but still the html/php source of the file.
Any ideas ?
On another subject :
I a modified .cif file for Belgium if you want it.
I think it's correct, but maybe it needs reviewing by another Belgian guy Smiling
I would be happy to translate the language files and mailing forms to dutch if you want to (Belgians speak the same language as the Netherlands in half of our country) because I need them anyway. As I haven't found them anywhere so I don't think they exist ?
Am I correct that I just need to copy the pot file and rename it to nl.po ?
Then translate the strings 'msgstr' ?
* Add new comment
permalinkTue, 07/24/2007 - 15:08
Ryan
Posts: 1693
Joined: 09/26/2006
AdministratorCode Monkey Head - I eat bugs.
Hmm... Curious on the e-mail thing. I haven't experienced any problems with it. The headers for the e-mail are actually constructed to specify HTML I think. Are you actually seeing the PHP contents of the template file or just the HTML tags from in it? If it's sending the actual PHP, that would be a problem...
Could there perhaps be some server configuration interfering with this?
As for the country file and translation, go ahead and post it up in the Internationalization forum. I'd love to add it in. Smiling I honestly don't know all that goes into making a translation because I haven't seen it done or been able to find a good description of how it's done. Puzzled I've tried for a while but finally gave up and just shipped the .pot files w/ no real clue how to use them. I think you're on the right track, though.
* reply
permalinkTue, 07/24/2007 - 15:24
Davy
Posts: 4
Joined: 07/24/2007
Well, I am running on XP with apache and mysql for windows.
I use the smtp module to send e-mails from my drupal site.
It is actually displaying the php code in the mail ( on two different clients and accounts ). So I could also be a SMTP module problem i guess.
I'll look into that first and let you know if I find some information on that.
For now I can't test it on a hosted site .
Can I for now just use a plain text makeup in the custom template box ?
As for the translation : I did it once for some other module and this way worked Eye-wink. You can see it in other module folders.
I'll have a look in the Internationalization forum.
And finally ,you need clean url's working to get the product images displayed.
Imagecache seems to require that. Cost me some time to find that out !
Greetz
* reply
permalinkTue, 07/24/2007 - 16:11
Ryan
Posts: 1693
Joined: 09/26/2006
AdministratorCode Monkey Head - I eat bugs.
Hmm... if it's sending the actual code then it sounds like PHP isn't parsing it like it should when I include the template file. PHP should be picking up and parsing any *.php file, but maybe for you it isn't doing the .itpl.php for some reason. I don't know all the ins and outs of it. Eye-wink
If you figure it out or I find a reason, post back here.
* reply
permalinkSat, 07/28/2007 - 06:14
Davy
Posts: 4
Joined: 07/24/2007
Found the problem.
It's not ubercart ( of course Eye-wink ) that was the problem.
Because I was running my site on XP I used the smtp module in drupal.( no idea why actually )
I disabled that and updated the php.ini file to use my isp smtp server.
Problem went away. I now get the beautiful layout of the confirmation orders.
Sorry for my noobness Smiling
* reply



Joined: 08/07/2007