SOAP ArticleSend HTML

Moderator: crythias

Locked
pwilms
Znuny newbie
Posts: 1
Joined: 23 Sep 2011, 09:55
Znuny Version: 3.0.9

SOAP ArticleSend HTML

Post by pwilms »

Hey guys,

i've got a simple problem:

Image

This answer was generated by the following API Call:

Code: Select all

$ArticleID = $client->__soapCall("Dispatch", 
			array($username, $password,
			"TicketObject",     "ArticleSend",
			"TicketID",         $TicketID,
 			"ArticleType",      "email-external",
			"SenderType",       "system",			
			"From",             $from,
			"To",			    $params['email'],			
			"Subject"          , $subject,
			"ContentType"      , "text/plain; charset=utf-8",
			"Charset"     	   ,'utf-8',
			"HistoryType"      , "EmailCustomer",
			"HistoryComment"   , "generated by Gutscheingenerator",
			"Body"             , $mail,
			"UserID"		   , 1,		
			"NoAgentNotify"    , 0,
			"MimeType"         , "text/html",
			"Loop"             , 0
			));
The body ("Body", $mail,) contains HTML. This HTML-Code is not parsed as seen in the image above!

Any Idea?

Kind regards,
Patric
OTRS 3.0.9 - Linux - MySQL
- No Changes at Code -
- SOAP Enabled -
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: SOAP ArticleSend HTML

Post by crythias »

Code: Select all

         "ContentType"      , "text/plain; charset=utf-8",
Try text/html .
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Locked