norrcomm
Newbie
Karma: 0
Posts: 44
|
 |
« on: January 31, 2007, 01:28:47 PM » |
|
Hi,
The email confirmations are working out great. However, when they are received in Lotus Notes, the font size is like 6 point. Where can I change this size to be larger for the HTML formatted emails?
Also, is it possible to change to table format as it seems to be pretty wide. I am thinking a vertical layout as opposed to the current horizontal layout.
Thanks!!
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5403
|
 |
« Reply #1 on: January 31, 2007, 08:51:53 PM » |
|
All of that is in the lib/Reservation.class.php starting at line 707
|
|
|
|
|
Logged
|
|
|
|
norrcomm
Newbie
Karma: 0
Posts: 44
|
 |
« Reply #2 on: February 05, 2007, 09:50:29 AM » |
|
Thanks for the info. One really strange thing though, since I update the table format, the html email formatted email is sent but it is just displaying the html code rather than it being rendered by my email client.
I even replaced the reservations.class.php with an original to verify that it was not something I changed mistakenly.
Is there a setting somewhere that is supposed tell the php mailer to parse as html?
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5403
|
 |
« Reply #3 on: February 05, 2007, 09:18:29 PM » |
|
Line 848 of Reservation.class.php sets the format.
|
|
|
|
|
Logged
|
|
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5403
|
 |
« Reply #5 on: February 06, 2007, 09:34:53 AM » |
|
Is the user requesting text, but getting HTML?
|
|
|
|
|
Logged
|
|
|
|
norrcomm
Newbie
Karma: 0
Posts: 44
|
 |
« Reply #6 on: February 06, 2007, 09:51:21 AM » |
|
HTML is the requested preference.
Plain text works like a charm.
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5403
|
 |
« Reply #7 on: February 07, 2007, 09:50:00 AM » |
|
Try adding
echo $mailer->ContentType;
right after the $mailer->IsHTML() call and see what it prints. Should be text/html.
|
|
|
|
|
Logged
|
|
|
|
norrcomm
Newbie
Karma: 0
Posts: 44
|
 |
« Reply #8 on: February 27, 2007, 08:21:33 AM » |
|
Nick, I finally got around to trying your step. Unfortunately nothing prints to my screen. HEre is the snippet including your echo command $mailer->From = $adminemail; $mailer->FromName = $conf['app']['title']; $mailer->Subject = $subject; $mailer->Body = $msg; $mailer->IsHTML($this->user->wants_html()); echo $mailer->ContentType;
I have also downloaded v1.2.6 and fresh out of the box I am getting straight html code rather the rendered html page in my email client.
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5403
|
 |
« Reply #9 on: February 27, 2007, 08:39:06 AM » |
|
Lets try this...
$mailer->From = $adminemail; $mailer->FromName = $conf['app']['title']; $mailer->Subject = $subject; $mailer->Body = $msg; $mailer->IsHTML($this->user->wants_html()); echo 'Content type is set to: ' . $mailer->ContentType;
You should at least see 'Content type is set to: '
|
|
|
|
|
Logged
|
|
|
|
norrcomm
Newbie
Karma: 0
Posts: 44
|
 |
« Reply #10 on: February 27, 2007, 09:35:07 AM » |
|
still nothing is printing to my screen or at least it is so fast that I am missing it.
Also, could it be that on my SMTP gateway, some admin somewhere has made a change that is causing the html to be stripped out?
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5403
|
 |
« Reply #11 on: February 27, 2007, 09:52:07 AM » |
|
That is possible. I haven't heard any reports of this type of behavior from other people. You can force text emails, if you want to do that.
|
|
|
|
|
Logged
|
|
|
|
norrcomm
Newbie
Karma: 0
Posts: 44
|
 |
« Reply #12 on: February 27, 2007, 11:04:31 AM » |
|
Just spoke with one of my messaging admins and as usual the "finger pointing" begins.
Do you have any other thoughts? I have blown away this app so many times I have lost counts because of this.
Thanks for your help.
|
|
|
|
|
Logged
|
|
|
|
Nick
Administrator
Hero Member
   
Karma: 15
Posts: 5403
|
 |
« Reply #13 on: February 27, 2007, 10:09:24 PM » |
|
As a last resort before we start really debugging, try commenting out lines 394 - 398 of lib/PHPMailler.class.php
|
|
|
|
|
Logged
|
|
|
|
|