admincontroller

This commit is contained in:
2018-12-30 02:55:46 -06:00
parent 686597b39b
commit 60a23e9e77
+17 -2
View File
@@ -90,17 +90,32 @@ class SendMail extends Command
$bill->tax_owed .
'<br>Please remit to Spatial Forces';
try {
$esi->setBody([
'mail' => [
'approved_cost'=> 50000,
'body' => $body,
'recipients' => [
'recipient_id' => $bill->character_id,
'recipient_type' => 'character',
],
'subject' => $subject,
],
])->invoke('post', '/characters/{character_id}/mail/', [
'character_id'=> 93738489,
]);
/*
$esi->setBody([
'approved_cost' => 50000,
'body' => $body,
'recipients' => [
'recipient_id' => [$bill->character_id],
'recipient_type' => ['character'],
'recipient_id' => $bill->character_id,
'recipient_type' => 'character',
],
'subject' => $subject,
])->invoke('post', '/characters/{character_id}/mail/', [
'character_id'=> 93738489,
]);
*/
} catch(RequestFailedException $e) {
//
}