Is there anyway for me to adjust the width of the email content/body?
Below is the sample email content/body.
--------------------------------------------------------------------------currently the width is only until here
---------------------------------------------------------------------------------------------------v
The following issue has been SUBMITTED.
======================================================================
http://localhost/view.php?id=81
======================================================================
Reported By: requestor
Assigned To: developer
======================================================================
Service Line: Enterprise Service Portal
Ticket ID: 81
Service Type: Request
Service Category: HR
Service Sub-Category: Onboarding
Severity: Medium
Status: Assigned
======================================================================
Date Submitted: 05-Sep-2017 14:14 MYT
Last Modified: 05-Sep-2017 14:14 MYT
======================================================================
Subject: Test 035
Description:
HR - Onboarding Test 035
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
05-Sep-2017 14:14requestor New Issue
05-Sep-2017 14:14requestor Status New => Assigned
05-Sep-2017 14:14requestor Assigned To => developer
======================================================================
This is an auto-generated email. Please do not reply to this message. You are further advised to add abc@email.com to your Address Book and / or Approved Sender List to avoid our e-mails from being forwarded to the junk or spam folder of your e-mail.
How to adjust the width of the email content
Moderators: Developer, Contributor
Re: How to adjust the width of the email content
The defaults for the separator lines in email are to display 70 times "=" and 70 times "-"
You can change this by adding the following lines to file confing_inc.php and adjusting the length and the character if you want.
You can change this by adding the following lines to file confing_inc.php and adjusting the length and the character if you want.
Code: Select all
$g_email_separator1 = str_pad('', 70, '=');
$g_email_separator2 = str_pad('', 70, '-');
-
- Posts: 16
- Joined: 19 Feb 2016, 08:09
Re: How to adjust the width of the email content
The solution only allow me to control the length/width of the email separator.
The description(in bold) in the email content/body appear to be displaying wrongly. It appear properly in the portal.
It should appear like :
Name : First Name, Last Name
Position : Vice President
Department : Business Development & Corporate Planning
Date join : 01/09/2017
Location : Kingsley Tower 3, Paddington Street, 50000 Kuala Lumpur
PIC : Supervisor 1
Proposed email : abc@email.com
instead of:
Name : First Name, Last Name
Position : Vice President
Department : Business Development & Corporate Planning Date join : 01/09/2017 Location : Kingsley Tower 3, Paddington Street, 50000 Kuala Lumpur PIC : Supervisor 1 Proposed email : abc@email.com
like in the sample email below.
The following issue has been SUBMITTED.
======================================================================================================================================================
http://localhost/serviceportal-Backup 20170906/view.php?id=678
======================================================================================================================================================
Reported By: admin
Assigned To: pic
======================================================================================================================================================
Service Line: Enterprise Service Portal
Ticket ID: 678
Service Type: Request
Service Category: HR
Service Sub-Category: Onboarding
Severity: Medium
Status: Assigned
======================================================================================================================================================
Date Submitted: 06-Sep-2017 15:50 MYT
Last Modified: 06-Sep-2017 15:50 MYT
======================================================================================================================================================
Subject: HR - Email Content Testing 022
Description:
Dear Team,
Please be advised on the new recruitments as follows:
Name : First Name, Last Name
Position : Vice President
Department : Business Development & Corporate Planning Date join : 01/09/2017 Location : Kingsley Tower 3, Paddington Street, 50000 Kuala Lumpur PIC : Supervisor 1 Proposed email : abc@email.com ======================================================================================================================================================
Issue History
Date Modified Username Field Change
======================================================================================================================================================
06-Sep-2017 15:50admin New Issue
06-Sep-2017 15:50admin Status New => Assigned
06-Sep-2017 15:50admin Assigned To => staff.provision
06-Sep-2017 15:50admin Assigned To staff.provision => pic
======================================================================================================================================================
This is an auto-generated email. Please do not reply to this message. You are further advised to add abc@email.com to your Address Book and / or Approved Sender List to avoid our e-mails from being forwarded to the junk or spam folder of your e-mail.
The description(in bold) in the email content/body appear to be displaying wrongly. It appear properly in the portal.
It should appear like :
Name : First Name, Last Name
Position : Vice President
Department : Business Development & Corporate Planning
Date join : 01/09/2017
Location : Kingsley Tower 3, Paddington Street, 50000 Kuala Lumpur
PIC : Supervisor 1
Proposed email : abc@email.com
instead of:
Name : First Name, Last Name
Position : Vice President
Department : Business Development & Corporate Planning Date join : 01/09/2017 Location : Kingsley Tower 3, Paddington Street, 50000 Kuala Lumpur PIC : Supervisor 1 Proposed email : abc@email.com
like in the sample email below.
The following issue has been SUBMITTED.
======================================================================================================================================================
http://localhost/serviceportal-Backup 20170906/view.php?id=678
======================================================================================================================================================
Reported By: admin
Assigned To: pic
======================================================================================================================================================
Service Line: Enterprise Service Portal
Ticket ID: 678
Service Type: Request
Service Category: HR
Service Sub-Category: Onboarding
Severity: Medium
Status: Assigned
======================================================================================================================================================
Date Submitted: 06-Sep-2017 15:50 MYT
Last Modified: 06-Sep-2017 15:50 MYT
======================================================================================================================================================
Subject: HR - Email Content Testing 022
Description:
Dear Team,
Please be advised on the new recruitments as follows:
Name : First Name, Last Name
Position : Vice President
Department : Business Development & Corporate Planning Date join : 01/09/2017 Location : Kingsley Tower 3, Paddington Street, 50000 Kuala Lumpur PIC : Supervisor 1 Proposed email : abc@email.com ======================================================================================================================================================
Issue History
Date Modified Username Field Change
======================================================================================================================================================
06-Sep-2017 15:50admin New Issue
06-Sep-2017 15:50admin Status New => Assigned
06-Sep-2017 15:50admin Assigned To => staff.provision
06-Sep-2017 15:50admin Assigned To staff.provision => pic
======================================================================================================================================================
This is an auto-generated email. Please do not reply to this message. You are further advised to add abc@email.com to your Address Book and / or Approved Sender List to avoid our e-mails from being forwarded to the junk or spam folder of your e-mail.