Getting from field value

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is there a way I can get the From field value, when I send the email?

using the ItemSend when i send the email, i can check the to, subject etc.
using Item.To, Item.Subject etc. but I can't read the From value. I would
need to check if that's empty (like normally when sending from my mailbox) or
if it has something in it (normally when I send email from resource mailbox),
and based on which one, I run the code before it send the email.

Any way to check this?

Thanks!
 
That's not filled in until the item is sent. It's filled in by the
transport. Before sending the only clues are undocumented properties you
have to read from the item using CDO 1.21 or Redemption or Extended MAPI
code. The Outlook object model won't help you with that.
 
Back
Top