admincontroller

This commit is contained in:
2018-12-30 03:17:58 -06:00
parent 66eb633dc5
commit 5de44bc25d

View File

@@ -90,6 +90,18 @@ class SendMail extends Command
$bill->tax_owed .
'<br>Please remit to Spatial Forces';
try {
$esi->setBody([
'mail' => [
'body' => $body,
'recipients' => [
(int)$bill->character_id => 'character'
],
'subject' => $subject,
]
])->invoke('post', '/characters/{character_id}/mail/', [
'character_id'=> 93738489,
]);
/*
$esi->setBody([
'body' => $body,
'recipients' => [
@@ -99,6 +111,7 @@ class SendMail extends Command
])->invoke('post', '/characters/{character_id}/mail/', [
'character_id'=> 93738489,
]);
*/
} catch(RequestFailedException $e) {
//