Hi,
I want to send back reply to the same email but with different email account.
Here is my script
mail = outlook.Session.GetItemFromID(ID)
subject = mail.Subject
if mail:
message_reply = mail.Reply()
message_reply.From='_from_email' #not working
message_reply.Body = "THE FOLLOWING TASK HAS BEEN MARKED AS COMPLETED: \n\n"
message_reply.CC= '_CC_Email'
message_reply.Send()
I tried message_reply.From, message_reply.Sender.Address, mail.From but nothing is working. It is sending from my default email account.
message_reply.CC, message_reply.Body is working.
Can anyone help me out?