phpScheduleIt
May 19, 2013, 10:22:25 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: How and where to make font larger for email confirmations  (Read 5069 times)
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


WWW
« 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


WWW
« Reply #3 on: February 05, 2007, 09:18:29 PM »

Line 848 of Reservation.class.php sets the format.
Logged
norrcomm
Newbie
*

Karma: 0
Posts: 44


« Reply #4 on: February 06, 2007, 08:08:08 AM »

Strange enough nothing seems out of the ordinary, as I did not touch this part of your code.  If you have a second, here is a copy of the reservations.class.php, did I miss anything?

http://www.norrcommsolutions.net/downloads/public/Reservation.class-old.php

Thanks
Logged
Nick
Administrator
Hero Member
*****

Karma: 15
Posts: 5403


WWW
« 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


WWW
« 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

Code:
$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


WWW
« 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


WWW
« 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


WWW
« 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
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!