Good day,
Its my first time creating an addin and I have created an addin for outlook using netoffice developer toolbox, the button was created when i opened the message like the below image
but i dont know how to get the the emails information(sender) and the email itself so i can use it as an attachment. I have tried to show messagebox by using this code.
public void SendButton_Click(Office.IRibbonControl control)
{
MessageBox.Show("Test Description", "Test", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
any idea on how to get these email info and the email itself ?
Thanks, Have a good day