Answer the question
In order to leave comments, you need to log in
Is it possible to send an email from php so that it is available in the sent folder in the inbox?
Actually the topic is the question. As I understand it, there is no such possibility, but I decided to clarify just in case. Chewing is not necessary :) If possible, then just indicate where to dig.
Thanks in advance for the information.
Answer the question
In order to leave comments, you need to log in
Dig towards IMAP.
Update:
Judging by the clarifying questions, you still need to chew a little.
SMTP, as well as PHP, is completely on the sidelines here. The "sent" functionality is implemented either by the mailer (locally) or by the provider. In the second case, it's just a folder on the server. How exactly a copy gets into it, one provider knows. In any case, folders cannot be accessed via SMTP - you can just drop the letter and hope that it will be delivered.
IMAP is quite another matter. By IMAP, you can access folders and, for example, independently set aside a copy in acc. folder, after the letter has successfully left via SMTP.
SMTP has nothing to do with this story except that it usually performs (if any) authorization of the user.
Or sending through a regular smtp server with prior authorization on it.
by means of php mail () in any way. Only with authentication via smtp, imap. That is, the smtp service must send a letter and not a php descriptor, only then the letter will get into the user's folder as sent and will be seen from the mail client as sent.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question