I am using Google API to test below code:
MailItemService mailItemService = new MailItemService(domain, "Sample Migration Application");
mailItemService.setUserCredentials(userEmail, password);
MailItemEntry entry = new MailItemEntry();
entry.Rfc822Msg = new Rfc822MsgElement(rfcTextOfMessage);
Referring to this Link .
- I used Sample Value given for "rfcTextOfMessage". But how to change To,Send and Date values for different mails?
Is there any way to get this format?
Note: I am using C#