code/control/EmailCallback.php 1 location
|
@@ 32-36 (lines=5) @@
|
| 29 |
|
$to = $to->Email; |
| 30 |
|
} |
| 31 |
|
//SUBJECT |
| 32 |
|
if (!empty($otherVariables["Subject"])) { |
| 33 |
|
$subject = $otherVariables["Subject"]; |
| 34 |
|
} else { |
| 35 |
|
$subject = substr($message, 0, 30); |
| 36 |
|
} |
| 37 |
|
|
| 38 |
|
//BODY |
| 39 |
|
$body = $message; |
code/control/FacebookCallback.php 1 location
|
@@ 254-258 (lines=5) @@
|
| 251 |
|
} |
| 252 |
|
} |
| 253 |
|
if ($user) { |
| 254 |
|
if (empty($otherVariables["Subject"])) { |
| 255 |
|
$subject = substr($message, 0, 30); |
| 256 |
|
} else { |
| 257 |
|
$subject = $otherVariables["Subject"]; |
| 258 |
|
} |
| 259 |
|
//------------- SEND EMAIL TO START DIALOGUE --- |
| 260 |
|
//BUILD LINK |
| 261 |
|
$emailLink = "https://www.facebook.com/dialog/feed?" |
code/control/LinkedinCallback.php 1 location
|
@@ 270-274 (lines=5) @@
|
| 267 |
|
//MESSAGE |
| 268 |
|
$message = trim(strip_tags(stripslashes($message))); |
| 269 |
|
//SUBJECT |
| 270 |
|
if (!empty($otherVariables["Subject"])) { |
| 271 |
|
$subject = $otherVariables["Subject"]; |
| 272 |
|
} else { |
| 273 |
|
$subject = substr($message, 0, 30); |
| 274 |
|
} |
| 275 |
|
//XML POST |
| 276 |
|
$body ='<?xml version=\'1.0\' encoding=\'UTF-8\'?> |
| 277 |
|
<mailbox-item> |