This topic is locked
[SOLVED]

 MassMailer SMS MediaUrl & Formating

5/1/2018 5:02:11 PM
PHPRunner General questions
W
wheathcock author

Does anyone know how to embed a MediaUrl in the SMS Message field in MassMailer task setup.
Below is the portion from a php test file which sends the MediaUrl as part of the array. How do I duplicate this in the MassMailer SMS Message field?
array(

'from' => $twilio_number,

'body' => 'Sample message!',

'MediaUrl' => "https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=25513&image=1&table=forumtopics";,

'statusCallback' => "http://xyz/callback.php";

)

);
Also, when I send a SMS message using the MassMailer it's putting extras lines in between the text.
/// Example of the format -- when I receive the Message

some text
some other text
// I'd prefer it to be.

some text

some other text
Thanks in advance for you assistance.

admin 5/1/2018

This is not going to be easy. Check common_runner_sms() function in source\include\commonfunctions.php file. This is where we send a request to Twilio API and read results back.

W
wheathcock author 5/2/2018



This is not going to be easy. Check common_runner_sms() function in source\include\commonfunctions.php file. This is where we send a request to Twilio API and read results back.



Thank you .. I was able to get the MediaUrl to work. I added a $parameters["MediaUrl"]="http://xyz";;