Send Mail to RT from PHP Form

Hi There,

I’ve created on my web site a form to get some information from my customers
and send this by mail. I’ve received the email’s and the ticket get created
in the right queue… except that the custom field value I pass.

If I send by Outlook as a plan text mail, its works well and the custom
field values get set…amazing! I have over to 120 fields on this process
as well.

My Header and Body:

$headers .= “\nMIME-Version: 1.0\n” . “Content-Type: multipart/mixed;\n” . “
boundary=”{$mime_boundary}"";

// multipart boundary
$message .= “This is a multi-part message in MIME format.\n\n” .
"–{$mime_boundary}\n" . “Content-Type: text/plain; charset=“ascii”\n” .
“Content-Transfer-Encoding: 8bit\n\n” . $message . “\n\n”;
$message .= “–{$mime_boundary}\n”;

Anyone thoughts are appreciated

Marcelo Calado.

My template:
Year|Body|Year-> (.+)$||q|
Amended Individual Income|Body|Amended Individual Income-> (.+)$||q|
Amended By TBS|Body|Amended By TBS-> (.+)$||q|
ID Number|Body|ID Number-> (.+)$||q|
And other +100 fields

My Body:
Year-> 2015
Amended Individual Income-> Yes
Amended By TBS-> Yes
ID Number-> 857-248

My Header from Outlook:
MIME-Version: 1.0
X-Mailer: Microsoft Outlook 16.0
Received-SPF: pass (google.com: domain of myuser@mysite.com designates
173.201.192.238 as permitted sender) client-ip=199.201.192.238;
Content-Language: en-us
content-type: text/plain; charset="utf-8"
X-Received: by 10.98.68.193 with SMTP id m62mr5183043pfi.130.1454529394768;
Wed, 03 Feb 2016 11:56:34 -0800 (PST)
Message-ID: 068d01d15ebc$fbd72aa0$f3857fe0$@tbstaxservices.com
Received: by 10.27.153.139 with SMTP id b133csp59489wle; Wed, 3 Feb 2016
11:56:34 -0800 (PST)
Received: from p3plsmtpa07-09.prod.phx3.secureserver.net
(p3plsmtpa07-09.prod.phx3.myserver.net. [173.201.192.238]) by mx.google.com
with ESMTPS id hs5si11001698pac.243.2016.02.03.11.56.33 for
mymail@mail.com (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 03
Feb 2016 11:56:34 -0800 (PST)
Received: from TBSPC3 ([96.81.77.182]) by myserver.net with id
DvwZ1s0043vzp0G01vwZnW; Wed, 03 Feb 2016 12:56:33 -0700
Authentication-Results: mx.google.com; spf=pass (google.com: domain of
mymail@misite.com designates 173.201.192.238 as permitted sender)
smtp.mailfrom=mymail@mysite.com
Return-Path: mcalado@tbstaxservices.com
Thread-Index: AdFevPmEs61bTMpRRCegCvqUjvtg5g==
Content-Transfer-Encoding: 7bit
X-RT-Original-Encoding: ascii
Content-Length: 95

My Header from PHP Form:
content-type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-RT-Original-Encoding: ascii
Content-Length: 1754