From fe7f65893e6b520829bb83dfa9f0391280865f0e Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Fri, 10 Feb 2012 12:31:02 +0000 Subject: [PATCH] Allow more than 64K for the email content (including attachments) SVN:trunk[1851] --- core/asynctask.class.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/asynctask.class.inc.php b/core/asynctask.class.inc.php index ead4fe42a..edbdf2306 100644 --- a/core/asynctask.class.inc.php +++ b/core/asynctask.class.inc.php @@ -140,7 +140,7 @@ class AsyncSendEmail extends AsyncTask MetaModel::Init_AddAttribute(new AttributeText("to", array("allowed_values"=>null, "sql"=>"to", "default_value"=>null, "is_null_allowed"=>false, "depends_on"=>array()))); MetaModel::Init_AddAttribute(new AttributeText("subject", array("allowed_values"=>null, "sql"=>"subject", "default_value"=>null, "is_null_allowed"=>false, "depends_on"=>array()))); - MetaModel::Init_AddAttribute(new AttributeText("message", array("allowed_values"=>null, "sql"=>"message", "default_value"=>null, "is_null_allowed"=>false, "depends_on"=>array()))); + MetaModel::Init_AddAttribute(new AttributeLongText("message", array("allowed_values"=>null, "sql"=>"message", "default_value"=>null, "is_null_allowed"=>false, "depends_on"=>array()))); // Display lists // MetaModel::Init_SetZListItems('details', array('name', 'description', 'status', 'test_recipient', 'from', 'reply_to', 'to', 'cc', 'bcc', 'subject', 'body', 'importance', 'trigger_list')); // Attributes to be displayed for the complete details @@ -183,4 +183,4 @@ class AsyncSendEmail extends AsyncTask } } } -?> \ No newline at end of file +?>