Can anyone help with determining if an email has been successfully sent?
I am using a simplified version of code to send messages by employing RSendAsMessage but in an Active Object. I have set up an SMTP email send and an IMAP receive mailbox.
I currently have an empty observer HandleSessionEventL(TMsvSessionEvent aEvent, TAny* aArg1, TAny* aArg2, TAny* aArg3)
I understand I can use this observer to detect the message has been delivered but after much research and reading I am struggling how to do this. I need to make sure I am not confusing events eg creating a message, deleting sent items, etc. Note it is possible a message can move from sent to outbox but still not be delivered.
Can anyone help?
Down the track I want to add code to this observer to check for any incoming mails so need to distinguish this as well.