kopia lustrzana https://github.com/newroco/mail2deck
Use 'reply_to' attribute instead of 'from' to reply & assign sender.
rodzic
49bd797057
commit
3ac5b2785e
|
@ -84,11 +84,11 @@ if ($emails)
|
|||
}
|
||||
$data->description = $description;
|
||||
$mailSender = new stdClass();
|
||||
$mailSender->userId = $overview->from[0]->mailbox;
|
||||
$mailSender->userId = $overview->reply_to[0]->mailbox;
|
||||
|
||||
$newcard = new DeckClass();
|
||||
$response = $newcard->addCard($data, $mailSender, $board);
|
||||
$mailSender->userId .= "@{$overview->from[0]->host}";
|
||||
$mailSender->userId .= "@{$overview->reply_to[0]->host}";
|
||||
|
||||
if($response) {
|
||||
$inbox->reply($mailSender->userId, $response);
|
||||
|
|
Ładowanie…
Reference in New Issue