Mails sent using javamail aren't found in the sent folder of Outlook - outlook

I am using javamail for Sending mails using Office365 account. I couldn't find the sent mails in the sent folder of my outlook. Interestingly, I could find the mails in sent folder if I use EWS for sending mail. What am i missing here?

Currently, messages sent though Office 365 SMTP are not copied to the Sent Items folder.
That might change in the future.

Related

How to upload copy of sent with smtp email

I use go-mail library to send emails with smtp. But I faced common issue that sent emails won't appear in sent folder. Googling I found that the only way to solve it is to upload sent email though imap.
The question is how do I obtain copy of sent email with smtp email?
The question is how do I obtain copy of sent email with smtp email?
You can't. SMTP is just for delivering mail. There is no concept of users mailboxes and specifically the Sent folder within SMTP.
We've implemented the following approach and it works for us:
Send email with smtp and bcc to own email.
Move/upload email with imap to sent folder.
For polling new messages use UID which is auto increment, so just remember the last processed and download all that is more than that.

EWS email exchange: getting message-id from a mail from Sent items

I'm developping a tool that allow to handle and move emails in Exchange.
For moving the mails I do need the message-Id. My issue is that when I intercept mails stored in a folder, I also get sent emails. For those mail, i do not retrieve any Message-Id.
My issue is that i met the following case: one sent email was found in the inbox folder. Unfortunatelly, I do not get any message-Id when i get the information details. Is there a way to get this information from this mail ?

PHPMailer thread/conversation in outlook not working

I've achieved the "conversation/thread" effect in gmail, using this code
$phpmailer->MessageID = $message_id;
and with this, in gmail all e-mails sent (with the same value in $message_id) are received in the same "conversation/thread", but this dont work in outlook, both windows 10 email app and outlook app for windows 10...
How can i achieve the same result as in gmail in outllook?
Don't re-use the same message ID for multiple messages. There are headers specifically for creating threads, and the definitive explanation for them is here. In short, add the Message-ID of the message you are replying to in a References header, and optionally also into an In-reply-to header. You can create those headers in PHPMailer using addCustomHeader().

How to get emails directly without storing in webmail inbox?

I am facing problem regarding Outlook app. I have successfully connected webmail with outlook app, but when I delete email from Webmail then it also delete from Outlook. I don't want to delete from my ourlook app. It should keep it for my record.
One of my friend told me that he is getting mail directly from the sender to outlook app without storing a single mail on webmail server.
How can I customize settings to get my issue resolved?
If mail connection is IMAP, a delete will remove the mail everywhere.
If mail connection is POP3, it will not.

Trouble while sending large amounts of mail via Outlook REST API

I'm using Outlook REST API to send mail.
When I try to send 7000 emails via Outlook api, there are 78 mails cannot be sent and moved to draft folder. I wonder if it is default action of outlook api or it is an error ?
Thank you !
You may be running into message send limits as documented here: https://technet.microsoft.com/en-us/library/exchange-online-limits.aspx#RecipientLimits If you believe you are within the documented limits, let me know and we can investigate further.

Resources