Sent mails with phpmailer don't go to “Sent” IMAP folder

前端 未结 5 740
我寻月下人不归
我寻月下人不归 2020-11-29 11:22

in my CRM online system I control ingoing mails with IMAP protocol. Now I\'m making sending mails with phpmailer and SMTP protocol. Everything is ok but I have one wierd thi

5条回答
  •  -上瘾入骨i
    2020-11-29 11:46

    • You need to be relaying your sent mail through the IMAP host
    • The IMAP host needs to support the feature (which very few do)

    If either of these two points are not true, the short answer is "You can't". In short, really it's down to the mail provider, not your code.

    As much as I hate M$, Exchange is one place where they really have got things right - if you are using an Exchange server, all of this is handled for you.

提交回复
热议问题