This commit is contained in:
2018-12-31 01:26:44 -06:00
parent 9a116d222c
commit 0ba7d34200
+9 -10
View File
@@ -122,16 +122,15 @@ class CalculateMarketTax extends Command
'<br>Please remit to Spatial Forces';
try {
$this->line('Attemping to send the mail.');
$esi->setBody(['approved_cost: 0, body: Test, recipients: [ { recipient_id: 92626011, recipient_type: character } ], subject: Test'])
//$esi->setBody([
// 'approved_cost' => 50000,
// 'body' => $body,
// 'recipients' => [
// 'recipient_id' => (int)$info->character_id,
// 'recipient_type' => 'character',
// ],
// 'subject' => $subject,])
->invoke('post', '/characters/{character_id}/mail/', [
$esi->setBody([
'approved_cost' => 50000,
'body' => $body,
'recipients' => [
'recipient_id' => (int)$info->character_id,
'recipient_type' => 'character',
],
'subject' => $subject,
])->invoke('post', '/characters/{character_id}/mail/', [
'character_id'=> 93738489,
]);
$this->line('Mail sent.');