admincontroller
This commit is contained in:
@@ -91,27 +91,17 @@ class SendMail extends Command
|
|||||||
'<br>Please remit to Spatial Forces';
|
'<br>Please remit to Spatial Forces';
|
||||||
try {
|
try {
|
||||||
$esi->setBody([
|
$esi->setBody([
|
||||||
'mail' => [
|
'approved_cost' => 0,
|
||||||
'body' => $body,
|
|
||||||
'recipients' => [
|
|
||||||
(int)$bill->character_id => 'character'
|
|
||||||
],
|
|
||||||
'subject' => $subject,
|
|
||||||
]
|
|
||||||
])->invoke('post', '/characters/{character_id}/mail/', [
|
|
||||||
'character_id'=> 93738489,
|
|
||||||
]);
|
|
||||||
/*
|
|
||||||
$esi->setBody([
|
|
||||||
'body' => $body,
|
'body' => $body,
|
||||||
'recipients' => [
|
'recipients' => [
|
||||||
(int)$bill->character_id => 'character'
|
'recipient_id' => (int)$bill->character_id,
|
||||||
|
'recipient_type' => 'character',
|
||||||
],
|
],
|
||||||
'subject' => $subject,
|
'subject' => $subject,
|
||||||
])->invoke('post', '/characters/{character_id}/mail/', [
|
])->invoke('post', '/characters/{character_id}/mail/', [
|
||||||
'character_id'=> 93738489,
|
'character_id'=> 93738489,
|
||||||
]);
|
]);
|
||||||
*/
|
|
||||||
|
|
||||||
} catch(RequestFailedException $e) {
|
} catch(RequestFailedException $e) {
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user