I am using Apache Commons Mail library to send email (using their simple SMTP email example).
The email is sent using one of the famous providers (i used yahoo as an example). The email was sent successfully. However when I login to my yahoo account I don't see the email in the sent folder.
Is there a flag I need to enable or some other thing I need to code to ensure that email is being saved in the sent folder?
Please assist. Thank you
i just had the same issue an solved it by:
Note that you must use the imap-host here, not the smtp-host. The difference about these protocols should be clear.
With kind regards
davey