Sent Items

  • Thread starter Thread starter JHP
  • Start date Start date
Status
Not open for further replies.
J

JHP

I've written a Macro that moves sent email to the proper Mailbox without

hard-coding Mailbox name; working great with Exchange Accounts, but if this

same approch is used with PST Accounts...

I don't know how (where to begin) to match the Sent mail to the correct

folder, as the folder name can be renamed and may not match the

SentOnBehalfOfName?

Thank you for any assistance,
 
Maybe I need supply more information?

I am trying to determine if a sent email (from address) belongs to an

existing (visible) mailbox...

Lets say I have multiple accounts (PST files as I already have Exchange

folders working) setup - I want to be able to determine which account the

email was sent from.

I don't want to have to hard-code the folder name (Select Case to match

address to folder) as a (PST) mailbox can be renamed.

I thought of using StoreID but a sent email (Parent.StoreID) takes on the

Default account's ID.

Any help would be greatly appreciated,

"JHP" <JHP@goawayplease.com> wrote in message

news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> I've written a Macro that moves sent email to the proper Mailbox without
> hard-coding Mailbox name; working great with Exchange Accounts, but if
> this same approch is used with PST Accounts...

> I don't know how (where to begin) to match the Sent mail to the correct
> folder, as the folder name can be renamed and may not match the
> SentOnBehalfOfName?

> Thank you for any assistance,
>
 
"JHP" <JHP@goawayplease.com> wrote in message

news:uM84KNczJHA.1716@TK2MSFTNGP03.phx.gbl...
> Maybe I need supply more information?

> I am trying to determine if a sent email (from address) belongs to an
> existing (visible) mailbox...

> Lets say I have multiple accounts (PST files as I already have Exchange
> folders working) setup - I want to be able to determine which account the
> email was sent from.

> I don't want to have to hard-code the folder name (Select Case to match
> address to folder) as a (PST) mailbox can be renamed.

> I thought of using StoreID but a sent email (Parent.StoreID) takes on the
> Default account's ID.

> Any help would be greatly appreciated,


I'm still a little unclear as to what you're trying to do. You are talking

about an Outlook profile that is configured to sync with multiple POP3

accounts, correct? It seems like you are inferring that each POP3 account

logically maps to a separate .PST file -- that is not the case. Mail from

all POP3 accounts is delivered to a single Inbox folder in a single .PST.

When you have multiple configured POP3 accounts you may choose which you

want to send from, when composing; by default the from address for a reply

is dictated by the account on which it was received (but it is still

user-selectable.)

If what you want to do is separate the items in Sent Items, according to the

POP3 account from which it was sent, I think you could get that by reading

the PR_SENDER_EMAIL_ADDRESS property (using extended MAPI or Redemption) and

move the item accordingly. But a separate destination corresponding to each

POP3 will not already exist, you'll have to create them yourself (presumably

as folders under Sent Items -- as a user I personally would be disenchanted

by an AddIn that created a bunch of .PST files like that.)

-Mark


> "JHP" <JHP@goawayplease.com> wrote in message
> news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> > I've written a Macro that moves sent email to the proper Mailbox without
> > hard-coding Mailbox name; working great with Exchange Accounts, but if
> > this same approch is used with PST Accounts...
>

>> I don't know how (where to begin) to match the Sent mail to the correct
> > folder, as the folder name can be renamed and may not match the
> > SentOnBehalfOfName?
>

>> Thank you for any assistance,
> >


>
 
Thank you for replying Mark McGinty,

Forgetting about the PST file - you have it right that I want to move the

sent items to the "proper" (SentOnBehalfOfName) account - but I want to

accomplish this as the items are being sent, and not have to hard-code the

folder name.

This is a very easy task if I wanted to hardcode the folder name, but as I

have stated in previous posts - I have already accomplished this in an

Exchange environment, but in a "PST" environment the user can change the

Account Name - making SentOnBehalfOfName useless.

Thank you for any insites,

"Mark McGinty" <mmcginty@spamfromyou.com> wrote in message

news:eaIHP5ozJHA.5032@TK2MSFTNGP05.phx.gbl...

> "JHP" <JHP@goawayplease.com> wrote in message
> news:uM84KNczJHA.1716@TK2MSFTNGP03.phx.gbl...
> > Maybe I need supply more information?
>

>> I am trying to determine if a sent email (from address) belongs to an
> > existing (visible) mailbox...
>

>> Lets say I have multiple accounts (PST files as I already have Exchange
> > folders working) setup - I want to be able to determine which account the
> > email was sent from.
>

>> I don't want to have to hard-code the folder name (Select Case to match
> > address to folder) as a (PST) mailbox can be renamed.
>

>> I thought of using StoreID but a sent email (Parent.StoreID) takes on the
> > Default account's ID.
>

>> Any help would be greatly appreciated,


> I'm still a little unclear as to what you're trying to do. You are
> talking about an Outlook profile that is configured to sync with multiple
> POP3 accounts, correct? It seems like you are inferring that each POP3
> account logically maps to a separate .PST file -- that is not the case.
> Mail from all POP3 accounts is delivered to a single Inbox folder in a
> single .PST.

> When you have multiple configured POP3 accounts you may choose which you
> want to send from, when composing; by default the from address for a reply
> is dictated by the account on which it was received (but it is still
> user-selectable.)

> If what you want to do is separate the items in Sent Items, according to
> the POP3 account from which it was sent, I think you could get that by
> reading the PR_SENDER_EMAIL_ADDRESS property (using extended MAPI or
> Redemption) and move the item accordingly. But a separate destination
> corresponding to each POP3 will not already exist, you'll have to create
> them yourself (presumably as folders under Sent Items -- as a user I
> personally would be disenchanted by an AddIn that created a bunch of .PST
> files like that.)

> -Mark

>
> > "JHP" <JHP@goawayplease.com> wrote in message
> > news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> >> I've written a Macro that moves sent email to the proper Mailbox without
> >> hard-coding Mailbox name; working great with Exchange Accounts, but if
> >> this same approch is used with PST Accounts...
> >
>>> I don't know how (where to begin) to match the Sent mail to the correct
> >> folder, as the folder name can be renamed and may not match the
> >> SentOnBehalfOfName?
> >
>>> Thank you for any assistance,
> >>

>

>>


>
 
How exactly do you associate an SMTP account with the store? Do you set

where the messages will be delivered in Tools | Accounts?

Dmitry Streblechenko (MVP)

-

"JHP" <JHP@goawayplease.com> wrote in message

news:OOExhjyzJHA.1092@TK2MSFTNGP06.phx.gbl...
> Thank you for replying Mark McGinty,

> Forgetting about the PST file - you have it right that I want to move the
> sent items to the "proper" (SentOnBehalfOfName) account - but I want to
> accomplish this as the items are being sent, and not have to hard-code the
> folder name.

> This is a very easy task if I wanted to hardcode the folder name, but as I
> have stated in previous posts - I have already accomplished this in an
> Exchange environment, but in a "PST" environment the user can change the
> Account Name - making SentOnBehalfOfName useless.

> Thank you for any insites,

> "Mark McGinty" <mmcginty@spamfromyou.com> wrote in message
> news:eaIHP5ozJHA.5032@TK2MSFTNGP05.phx.gbl...
>

>> "JHP" <JHP@goawayplease.com> wrote in message
> > news:uM84KNczJHA.1716@TK2MSFTNGP03.phx.gbl...
> >> Maybe I need supply more information?
> >
>>> I am trying to determine if a sent email (from address) belongs to an
> >> existing (visible) mailbox...
> >
>>> Lets say I have multiple accounts (PST files as I already have Exchange
> >> folders working) setup - I want to be able to determine which account
> >> the email was sent from.
> >
>>> I don't want to have to hard-code the folder name (Select Case to match
> >> address to folder) as a (PST) mailbox can be renamed.
> >
>>> I thought of using StoreID but a sent email (Parent.StoreID) takes on
> >> the Default account's ID.
> >
>>> Any help would be greatly appreciated,

>

>> I'm still a little unclear as to what you're trying to do. You are
> > talking about an Outlook profile that is configured to sync with multiple
> > POP3 accounts, correct? It seems like you are inferring that each POP3
> > account logically maps to a separate .PST file -- that is not the case.
> > Mail from all POP3 accounts is delivered to a single Inbox folder in a
> > single .PST.
>

>> When you have multiple configured POP3 accounts you may choose which you
> > want to send from, when composing; by default the from address for a
> > reply is dictated by the account on which it was received (but it is
> > still user-selectable.)
>

>> If what you want to do is separate the items in Sent Items, according to
> > the POP3 account from which it was sent, I think you could get that by
> > reading the PR_SENDER_EMAIL_ADDRESS property (using extended MAPI or
> > Redemption) and move the item accordingly. But a separate destination
> > corresponding to each POP3 will not already exist, you'll have to create
> > them yourself (presumably as folders under Sent Items -- as a user I
> > personally would be disenchanted by an AddIn that created a bunch of .PST
> > files like that.)
>

>
>> -Mark
>

>
>
>>
> >> "JHP" <JHP@goawayplease.com> wrote in message
> >> news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> >>> I've written a Macro that moves sent email to the proper Mailbox
> >>> without hard-coding Mailbox name; working great with Exchange Accounts,
> >>> but if this same approch is used with PST Accounts...
> >>
>>>> I don't know how (where to begin) to match the Sent mail to the correct
> >>> folder, as the folder name can be renamed and may not match the
> >>> SentOnBehalfOfName?
> >>
>>>> Thank you for any assistance,
> >>
>>
>>>

>

>>


>
 
Yes - under User Information - E-mail Address.

If you reverse the process... how does an incoming email know to go to a

particular folder (Account); I would like to know that logic and apply it

here.

When I send an email as someone else I want to move the mail item to the

correct Sent Items folder (if it exists in the current profile), but I don't

want to hard code the Folder Name to the Sender Name as the folder name may

change.

The following is what I did for our Exchange environment

(ThisOutlookSession):

Private WithEvents sentItems As Items

Private Sub Application_Startup()

Dim objNS As NameSpace

Dim objRecipient As Recipient

Dim objFolder As MAPIFolder

Set objNS = Me.GetNamespace("MAPI")

Set objRecipient = objNS.CreateRecipient(objNS.CurrentUser.Address)

objRecipient.Resolve

If objRecipient.Resolved Then

Set objFolder = objNS.GetDefaultFolder(olFolderSentMail)

Set sentItems = objFolder.Items

Set objFolder = Nothing

Else

MsgBox ("Error: Name Not Resolved - Please Contact Your

Administrator")

End If

Set objRecipient = Nothing

Set objNS = Nothing

End Sub

Private Sub sentItems_ItemAdd(ByVal Item As Object)

Dim objItem As Outlook.MailItem

Dim objNS As NameSpace

Const g_PR_SMTP_ADDRESS_W = &H39FE001F

If (TypeOf Item Is Outlook.MailItem) Then

Set objItem = Item

Set objNS = Me.GetNamespace("MAPI")

If objNS.CurrentUser.Name <> objItem.SentOnBehalfOfName And

objNS.CurrentUser.Name <> objNS.CurrentUser.Address Then

strEntryID = objItem.EntryID

strStoreID = objItem.Parent.StoreID

Set objSession = CreateObject("MAPI.Session")

objSession.Logon "", "", False, False

Set objMessage = objSession.GetMessage(strEntryID, strStoreID)

strAddress = objMessage.Sender.Address

If Not InStr(strAddress, "@") Then

On Error Resume Next

strAddress =

objMessage.Sender.Fields(g_PR_SMTP_ADDRESS_W).Value

End If

objSession.Logoff

Set objMessage = Nothing

Set objSession = Nothing

Set objFolders = objNS.Folders

For Each rtnFolder In objFolders

strMailbox = rtnFolder.Name

If strMailbox = "Mailbox - " & objItem.SentOnBehalfOfName

Then

Set objSentItems =

objNS.Folders(strMailbox).Folders("Sent Items")

objItem.Move objSentItems

Set objSentItems = Nothing

Exit For

End If

Next

Set objFolders = Nothing

End If

Set objNS = Nothing

Set objItem = Nothing

End If

End Sub

"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message

news:uE1Qzn0zJHA.1424@TK2MSFTNGP02.phx.gbl...
> How exactly do you associate an SMTP account with the store? Do you set
> where the messages will be delivered in Tools | Accounts?

> > Dmitry Streblechenko (MVP)
>

>

>

> -
> "JHP" <JHP@goawayplease.com> wrote in message
> news:OOExhjyzJHA.1092@TK2MSFTNGP06.phx.gbl...
> > Thank you for replying Mark McGinty,
>

>> Forgetting about the PST file - you have it right that I want to move the
> > sent items to the "proper" (SentOnBehalfOfName) account - but I want to
> > accomplish this as the items are being sent, and not have to hard-code
> > the folder name.
>

>> This is a very easy task if I wanted to hardcode the folder name, but as
> > I have stated in previous posts - I have already accomplished this in an
> > Exchange environment, but in a "PST" environment the user can change the
> > Account Name - making SentOnBehalfOfName useless.
>

>> Thank you for any insites,
>

>> "Mark McGinty" <mmcginty@spamfromyou.com> wrote in message
> > news:eaIHP5ozJHA.5032@TK2MSFTNGP05.phx.gbl...
> >
>>> "JHP" <JHP@goawayplease.com> wrote in message
> >> news:uM84KNczJHA.1716@TK2MSFTNGP03.phx.gbl...
> >>> Maybe I need supply more information?
> >>
>>>> I am trying to determine if a sent email (from address) belongs to an
> >>> existing (visible) mailbox...
> >>
>>>> Lets say I have multiple accounts (PST files as I already have Exchange
> >>> folders working) setup - I want to be able to determine which account
> >>> the email was sent from.
> >>
>>>> I don't want to have to hard-code the folder name (Select Case to match
> >>> address to folder) as a (PST) mailbox can be renamed.
> >>
>>>> I thought of using StoreID but a sent email (Parent.StoreID) takes on
> >>> the Default account's ID.
> >>
>>>> Any help would be greatly appreciated,
> >
>>> I'm still a little unclear as to what you're trying to do. You are
> >> talking about an Outlook profile that is configured to sync with
> >> multiple POP3 accounts, correct? It seems like you are inferring that
> >> each POP3 account logically maps to a separate .PST file -- that is not
> >> the case. Mail from all POP3 accounts is delivered to a single Inbox
> >> folder in a single .PST.
> >
>>> When you have multiple configured POP3 accounts you may choose which you
> >> want to send from, when composing; by default the from address for a
> >> reply is dictated by the account on which it was received (but it is
> >> still user-selectable.)
> >
>>> If what you want to do is separate the items in Sent Items, according to
> >> the POP3 account from which it was sent, I think you could get that by
> >> reading the PR_SENDER_EMAIL_ADDRESS property (using extended MAPI or
> >> Redemption) and move the item accordingly. But a separate destination
> >> corresponding to each POP3 will not already exist, you'll have to create
> >> them yourself (presumably as folders under Sent Items -- as a user I
> >> personally would be disenchanted by an AddIn that created a bunch of
> >> .PST files like that.)
> >
>>
>>> -Mark
> >
>>
>>
>>
>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>> news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> >>>> I've written a Macro that moves sent email to the proper Mailbox
> >>>> without hard-coding Mailbox name; working great with Exchange
> >>>> Accounts, but if this same approch is used with PST Accounts...
> >>>
>>>>> I don't know how (where to begin) to match the Sent mail to the
> >>>> correct folder, as the folder name can be renamed and may not match
> >>>> the SentOnBehalfOfName?
> >>>
>>>>> Thank you for any assistance,
> >>>
>>>
>>>
>>
>>>

>

>>


>
 
Not sure if this thread has died - so this is another attempt for ideas -

Thank you,

RECAP:

- setup multiple (POP3 / IMAP) accounts in a PST file.

- send email as one the the viewable accounts (SendOnBehalfOfName), not as

the default user.

- move the sent item to the "correct" sent items folder - on the fly.

* I don't want to hardcode the folder names as they can be changed (unlike

Exchange Accounts).

I have supplied an example of my Exchange version in one of the previous

threads.

Thank you,

"JHP" <JHP@goawayplease.com> wrote in message

news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> I've written a Macro that moves sent email to the proper Mailbox without
> hard-coding Mailbox name; working great with Exchange Accounts, but if
> this same approch is used with PST Accounts...

> I don't know how (where to begin) to match the Sent mail to the correct
> folder, as the folder name can be renamed and may not match the
> SentOnBehalfOfName?

> Thank you for any assistance,
>
 
Email does not know that, but Outlook does. For the POP3/SMTP accounts, that

information is tored along with the other account related information, such

as the names of the servers.

In case of Exchanage, you would need to read the entry id of the GAL user,

open the user's Sent Items foleer using Namespace.GetSharedDefaultFolder,

then move the message there.

Dmitry Streblechenko (MVP)

-

"JHP" <JHP@goawayplease.com> wrote in message

news:OhF8N60zJHA.5684@TK2MSFTNGP04.phx.gbl...
> Yes - under User Information - E-mail Address.

> If you reverse the process... how does an incoming email know to go to a
> particular folder (Account); I would like to know that logic and apply it
> here.

> When I send an email as someone else I want to move the mail item to the
> correct Sent Items folder (if it exists in the current profile), but I
> don't want to hard code the Folder Name to the Sender Name as the folder
> name may change.

> The following is what I did for our Exchange environment
> (ThisOutlookSession):

> Private WithEvents sentItems As Items

> Private Sub Application_Startup()
> Dim objNS As NameSpace
> Dim objRecipient As Recipient
> Dim objFolder As MAPIFolder

> Set objNS = Me.GetNamespace("MAPI")
> Set objRecipient = objNS.CreateRecipient(objNS.CurrentUser.Address)
> objRecipient.Resolve

> If objRecipient.Resolved Then
> Set objFolder = objNS.GetDefaultFolder(olFolderSentMail)
> Set sentItems = objFolder.Items
> Set objFolder = Nothing
> Else
> MsgBox ("Error: Name Not Resolved - Please Contact Your
> Administrator")
> End If
> Set objRecipient = Nothing
> Set objNS = Nothing
> End Sub

> Private Sub sentItems_ItemAdd(ByVal Item As Object)
> Dim objItem As Outlook.MailItem
> Dim objNS As NameSpace
> Const g_PR_SMTP_ADDRESS_W = &H39FE001F

> If (TypeOf Item Is Outlook.MailItem) Then
> Set objItem = Item
> Set objNS = Me.GetNamespace("MAPI")

> If objNS.CurrentUser.Name <> objItem.SentOnBehalfOfName And
> objNS.CurrentUser.Name <> objNS.CurrentUser.Address Then
> strEntryID = objItem.EntryID
> strStoreID = objItem.Parent.StoreID
> Set objSession = CreateObject("MAPI.Session")
> objSession.Logon "", "", False, False
> Set objMessage = objSession.GetMessage(strEntryID, strStoreID)
> strAddress = objMessage.Sender.Address

> If Not InStr(strAddress, "@") Then
> On Error Resume Next
> strAddress =
> objMessage.Sender.Fields(g_PR_SMTP_ADDRESS_W).Value
> End If
> objSession.Logoff
> Set objMessage = Nothing
> Set objSession = Nothing
> Set objFolders = objNS.Folders

> For Each rtnFolder In objFolders
> strMailbox = rtnFolder.Name

> If strMailbox = "Mailbox - " & objItem.SentOnBehalfOfName
> Then
> Set objSentItems =
> objNS.Folders(strMailbox).Folders("Sent Items")
> objItem.Move objSentItems
> Set objSentItems = Nothing
> Exit For
> End If
> Next
> Set objFolders = Nothing
> End If
> Set objNS = Nothing
> Set objItem = Nothing
> End If
> End Sub

> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> news:uE1Qzn0zJHA.1424@TK2MSFTNGP02.phx.gbl...
> > How exactly do you associate an SMTP account with the store? Do you set
> > where the messages will be delivered in Tools | Accounts?
>

>> > > Dmitry Streblechenko (MVP)
> >

> >

> >

> > -
> > "JHP" <JHP@goawayplease.com> wrote in message
> > news:OOExhjyzJHA.1092@TK2MSFTNGP06.phx.gbl...
> >> Thank you for replying Mark McGinty,
> >
>>> Forgetting about the PST file - you have it right that I want to move
> >> the sent items to the "proper" (SentOnBehalfOfName) account - but I want
> >> to accomplish this as the items are being sent, and not have to
> >> hard-code the folder name.
> >
>>> This is a very easy task if I wanted to hardcode the folder name, but as
> >> I have stated in previous posts - I have already accomplished this in an
> >> Exchange environment, but in a "PST" environment the user can change the
> >> Account Name - making SentOnBehalfOfName useless.
> >
>>> Thank you for any insites,
> >
>>> "Mark McGinty" <mmcginty@spamfromyou.com> wrote in message
> >> news:eaIHP5ozJHA.5032@TK2MSFTNGP05.phx.gbl...
> >>
>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>> news:uM84KNczJHA.1716@TK2MSFTNGP03.phx.gbl...
> >>>> Maybe I need supply more information?
> >>>
>>>>> I am trying to determine if a sent email (from address) belongs to an
> >>>> existing (visible) mailbox...
> >>>
>>>>> Lets say I have multiple accounts (PST files as I already have
> >>>> Exchange folders working) setup - I want to be able to determine which
> >>>> account the email was sent from.
> >>>
>>>>> I don't want to have to hard-code the folder name (Select Case to
> >>>> match address to folder) as a (PST) mailbox can be renamed.
> >>>
>>>>> I thought of using StoreID but a sent email (Parent.StoreID) takes on
> >>>> the Default account's ID.
> >>>
>>>>> Any help would be greatly appreciated,
> >>
>>>> I'm still a little unclear as to what you're trying to do. You are
> >>> talking about an Outlook profile that is configured to sync with
> >>> multiple POP3 accounts, correct? It seems like you are inferring that
> >>> each POP3 account logically maps to a separate .PST file -- that is not
> >>> the case. Mail from all POP3 accounts is delivered to a single Inbox
> >>> folder in a single .PST.
> >>
>>>> When you have multiple configured POP3 accounts you may choose which
> >>> you want to send from, when composing; by default the from address for
> >>> a reply is dictated by the account on which it was received (but it is
> >>> still user-selectable.)
> >>
>>>> If what you want to do is separate the items in Sent Items, according
> >>> to the POP3 account from which it was sent, I think you could get that
> >>> by reading the PR_SENDER_EMAIL_ADDRESS property (using extended MAPI or
> >>> Redemption) and move the item accordingly. But a separate destination
> >>> corresponding to each POP3 will not already exist, you'll have to
> >>> create them yourself (presumably as folders under Sent Items -- as a
> >>> user I personally would be disenchanted by an AddIn that created a
> >>> bunch of .PST files like that.)
> >>
>>>
>>>> -Mark
> >>
>>>
>>>
>>>
>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>> news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> >>>>> I've written a Macro that moves sent email to the proper Mailbox
> >>>>> without hard-coding Mailbox name; working great with Exchange
> >>>>> Accounts, but if this same approch is used with PST Accounts...
> >>>>
>>>>>> I don't know how (where to begin) to match the Sent mail to the
> >>>>> correct folder, as the folder name can be renamed and may not match
> >>>>> the SentOnBehalfOfName?
> >>>>
>>>>>> Thank you for any assistance,
> >>>>
>>>>
>>>>
>>>
>>>
>>
>>>

>

>>


>
 
Just getting back to this:

Again thank you for your expertise, I really appreciate you taking the time

here... really!

Is it possible to access that information the way Outlook does (POP3/SMTP)

via script?

I really like the idea of using the GAL - thank you.

"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message

news:eHJ1EVb0JHA.2656@TK2MSFTNGP05.phx.gbl...
> Email does not know that, but Outlook does. For the POP3/SMTP accounts,
> that information is tored along with the other account related
> information, such as the names of the servers.
> In case of Exchanage, you would need to read the entry id of the GAL user,
> open the user's Sent Items foleer using Namespace.GetSharedDefaultFolder,
> then move the message there.

> > Dmitry Streblechenko (MVP)
>

>

>

> -
> "JHP" <JHP@goawayplease.com> wrote in message
> news:OhF8N60zJHA.5684@TK2MSFTNGP04.phx.gbl...
> > Yes - under User Information - E-mail Address.
>

>> If you reverse the process... how does an incoming email know to go to a
> > particular folder (Account); I would like to know that logic and apply it
> > here.
>

>> When I send an email as someone else I want to move the mail item to the
> > correct Sent Items folder (if it exists in the current profile), but I
> > don't want to hard code the Folder Name to the Sender Name as the folder
> > name may change.
>

>> The following is what I did for our Exchange environment
> > (ThisOutlookSession):
>

>> Private WithEvents sentItems As Items
>

>> Private Sub Application_Startup()
> > Dim objNS As NameSpace
> > Dim objRecipient As Recipient
> > Dim objFolder As MAPIFolder
>

>> Set objNS = Me.GetNamespace("MAPI")
> > Set objRecipient = objNS.CreateRecipient(objNS.CurrentUser.Address)
> > objRecipient.Resolve
>

>> If objRecipient.Resolved Then
> > Set objFolder = objNS.GetDefaultFolder(olFolderSentMail)
> > Set sentItems = objFolder.Items
> > Set objFolder = Nothing
> > Else
> > MsgBox ("Error: Name Not Resolved - Please Contact Your
> > Administrator")
> > End If
> > Set objRecipient = Nothing
> > Set objNS = Nothing
> > End Sub
>

>> Private Sub sentItems_ItemAdd(ByVal Item As Object)
> > Dim objItem As Outlook.MailItem
> > Dim objNS As NameSpace
> > Const g_PR_SMTP_ADDRESS_W = &H39FE001F
>

>> If (TypeOf Item Is Outlook.MailItem) Then
> > Set objItem = Item
> > Set objNS = Me.GetNamespace("MAPI")
>

>> If objNS.CurrentUser.Name <> objItem.SentOnBehalfOfName And
> > objNS.CurrentUser.Name <> objNS.CurrentUser.Address Then
> > strEntryID = objItem.EntryID
> > strStoreID = objItem.Parent.StoreID
> > Set objSession = CreateObject("MAPI.Session")
> > objSession.Logon "", "", False, False
> > Set objMessage = objSession.GetMessage(strEntryID, strStoreID)
> > strAddress = objMessage.Sender.Address
>

>> If Not InStr(strAddress, "@") Then
> > On Error Resume Next
> > strAddress =
> > objMessage.Sender.Fields(g_PR_SMTP_ADDRESS_W).Value
> > End If
> > objSession.Logoff
> > Set objMessage = Nothing
> > Set objSession = Nothing
> > Set objFolders = objNS.Folders
>

>> For Each rtnFolder In objFolders
> > strMailbox = rtnFolder.Name
>

>> If strMailbox = "Mailbox - " & objItem.SentOnBehalfOfName
> > Then
> > Set objSentItems =
> > objNS.Folders(strMailbox).Folders("Sent Items")
> > objItem.Move objSentItems
> > Set objSentItems = Nothing
> > Exit For
> > End If
> > Next
> > Set objFolders = Nothing
> > End If
> > Set objNS = Nothing
> > Set objItem = Nothing
> > End If
> > End Sub
>

>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> > news:uE1Qzn0zJHA.1424@TK2MSFTNGP02.phx.gbl...
> >> How exactly do you associate an SMTP account with the store? Do you set
> >> where the messages will be delivered in Tools | Accounts?
> >
>>> > >> Dmitry Streblechenko (MVP)
> >>

> >>

> >>

> >> -
> >> "JHP" <JHP@goawayplease.com> wrote in message
> >> news:OOExhjyzJHA.1092@TK2MSFTNGP06.phx.gbl...
> >>> Thank you for replying Mark McGinty,
> >>
>>>> Forgetting about the PST file - you have it right that I want to move
> >>> the sent items to the "proper" (SentOnBehalfOfName) account - but I
> >>> want to accomplish this as the items are being sent, and not have to
> >>> hard-code the folder name.
> >>
>>>> This is a very easy task if I wanted to hardcode the folder name, but
> >>> as I have stated in previous posts - I have already accomplished this
> >>> in an Exchange environment, but in a "PST" environment the user can
> >>> change the Account Name - making SentOnBehalfOfName useless.
> >>
>>>> Thank you for any insites,
> >>
>>>> "Mark McGinty" <mmcginty@spamfromyou.com> wrote in message
> >>> news:eaIHP5ozJHA.5032@TK2MSFTNGP05.phx.gbl...
> >>>
>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>> news:uM84KNczJHA.1716@TK2MSFTNGP03.phx.gbl...
> >>>>> Maybe I need supply more information?
> >>>>
>>>>>> I am trying to determine if a sent email (from address) belongs to an
> >>>>> existing (visible) mailbox...
> >>>>
>>>>>> Lets say I have multiple accounts (PST files as I already have
> >>>>> Exchange folders working) setup - I want to be able to determine
> >>>>> which account the email was sent from.
> >>>>
>>>>>> I don't want to have to hard-code the folder name (Select Case to
> >>>>> match address to folder) as a (PST) mailbox can be renamed.
> >>>>
>>>>>> I thought of using StoreID but a sent email (Parent.StoreID) takes on
> >>>>> the Default account's ID.
> >>>>
>>>>>> Any help would be greatly appreciated,
> >>>
>>>>> I'm still a little unclear as to what you're trying to do. You are
> >>>> talking about an Outlook profile that is configured to sync with
> >>>> multiple POP3 accounts, correct? It seems like you are inferring that
> >>>> each POP3 account logically maps to a separate .PST file -- that is
> >>>> not the case. Mail from all POP3 accounts is delivered to a single
> >>>> Inbox folder in a single .PST.
> >>>
>>>>> When you have multiple configured POP3 accounts you may choose which
> >>>> you want to send from, when composing; by default the from address for
> >>>> a reply is dictated by the account on which it was received (but it is
> >>>> still user-selectable.)
> >>>
>>>>> If what you want to do is separate the items in Sent Items, according
> >>>> to the POP3 account from which it was sent, I think you could get that
> >>>> by reading the PR_SENDER_EMAIL_ADDRESS property (using extended MAPI
> >>>> or Redemption) and move the item accordingly. But a separate
> >>>> destination corresponding to each POP3 will not already exist, you'll
> >>>> have to create them yourself (presumably as folders under Sent
> >>>> Items -- as a user I personally would be disenchanted by an AddIn that
> >>>> created a bunch of .PST files like that.)
> >>>
>>>>
>>>>> -Mark
> >>>
>>>>
>>>>
>>>>
>>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>>> news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> >>>>>> I've written a Macro that moves sent email to the proper Mailbox
> >>>>>> without hard-coding Mailbox name; working great with Exchange
> >>>>>> Accounts, but if this same approch is used with PST Accounts...
> >>>>>
>>>>>>> I don't know how (where to begin) to match the Sent mail to the
> >>>>>> correct folder, as the folder name can be renamed and may not match
> >>>>>> the SentOnBehalfOfName?
> >>>>>
>>>>>>> Thank you for any assistance,
> >>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>>

>

>>


>
 
So do you want to access POP3/SMTP accounts or use the Exchange mailboxes?

Dmitry Streblechenko (MVP)

-

"JHP" <JHP@goawayplease.com> wrote in message

news:%23fK3oGZ1JHA.1900@TK2MSFTNGP04.phx.gbl...
> Just getting back to this:

> Again thank you for your expertise, I really appreciate you taking the
> time here... really!

> Is it possible to access that information the way Outlook does (POP3/SMTP)
> via script?

> I really like the idea of using the GAL - thank you.

> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> news:eHJ1EVb0JHA.2656@TK2MSFTNGP05.phx.gbl...
> > Email does not know that, but Outlook does. For the POP3/SMTP accounts,
> > that information is tored along with the other account related
> > information, such as the names of the servers.
> > In case of Exchanage, you would need to read the entry id of the GAL
> > user, open the user's Sent Items foleer using
> > Namespace.GetSharedDefaultFolder, then move the message there.
>

>> > > Dmitry Streblechenko (MVP)
> >

> >

> >

> > -
> > "JHP" <JHP@goawayplease.com> wrote in message
> > news:OhF8N60zJHA.5684@TK2MSFTNGP04.phx.gbl...
> >> Yes - under User Information - E-mail Address.
> >
>>> If you reverse the process... how does an incoming email know to go to a
> >> particular folder (Account); I would like to know that logic and apply
> >> it here.
> >
>>> When I send an email as someone else I want to move the mail item to the
> >> correct Sent Items folder (if it exists in the current profile), but I
> >> don't want to hard code the Folder Name to the Sender Name as the folder
> >> name may change.
> >
>>> The following is what I did for our Exchange environment
> >> (ThisOutlookSession):
> >
>>> Private WithEvents sentItems As Items
> >
>>> Private Sub Application_Startup()
> >> Dim objNS As NameSpace
> >> Dim objRecipient As Recipient
> >> Dim objFolder As MAPIFolder
> >
>>> Set objNS = Me.GetNamespace("MAPI")
> >> Set objRecipient = objNS.CreateRecipient(objNS.CurrentUser.Address)
> >> objRecipient.Resolve
> >
>>> If objRecipient.Resolved Then
> >> Set objFolder = objNS.GetDefaultFolder(olFolderSentMail)
> >> Set sentItems = objFolder.Items
> >> Set objFolder = Nothing
> >> Else
> >> MsgBox ("Error: Name Not Resolved - Please Contact Your
> >> Administrator")
> >> End If
> >> Set objRecipient = Nothing
> >> Set objNS = Nothing
> >> End Sub
> >
>>> Private Sub sentItems_ItemAdd(ByVal Item As Object)
> >> Dim objItem As Outlook.MailItem
> >> Dim objNS As NameSpace
> >> Const g_PR_SMTP_ADDRESS_W = &H39FE001F
> >
>>> If (TypeOf Item Is Outlook.MailItem) Then
> >> Set objItem = Item
> >> Set objNS = Me.GetNamespace("MAPI")
> >
>>> If objNS.CurrentUser.Name <> objItem.SentOnBehalfOfName And
> >> objNS.CurrentUser.Name <> objNS.CurrentUser.Address Then
> >> strEntryID = objItem.EntryID
> >> strStoreID = objItem.Parent.StoreID
> >> Set objSession = CreateObject("MAPI.Session")
> >> objSession.Logon "", "", False, False
> >> Set objMessage = objSession.GetMessage(strEntryID,
> >> strStoreID)
> >> strAddress = objMessage.Sender.Address
> >
>>> If Not InStr(strAddress, "@") Then
> >> On Error Resume Next
> >> strAddress =
> >> objMessage.Sender.Fields(g_PR_SMTP_ADDRESS_W).Value
> >> End If
> >> objSession.Logoff
> >> Set objMessage = Nothing
> >> Set objSession = Nothing
> >> Set objFolders = objNS.Folders
> >
>>> For Each rtnFolder In objFolders
> >> strMailbox = rtnFolder.Name
> >
>>> If strMailbox = "Mailbox - " & objItem.SentOnBehalfOfName
> >> Then
> >> Set objSentItems =
> >> objNS.Folders(strMailbox).Folders("Sent Items")
> >> objItem.Move objSentItems
> >> Set objSentItems = Nothing
> >> Exit For
> >> End If
> >> Next
> >> Set objFolders = Nothing
> >> End If
> >> Set objNS = Nothing
> >> Set objItem = Nothing
> >> End If
> >> End Sub
> >
>>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> >> news:uE1Qzn0zJHA.1424@TK2MSFTNGP02.phx.gbl...
> >>> How exactly do you associate an SMTP account with the store? Do you set
> >>> where the messages will be delivered in Tools | Accounts?
> >>
>>>> > >>> Dmitry Streblechenko (MVP)
> >>>

> >>>

> >>>

> >>> -
> >>> "JHP" <JHP@goawayplease.com> wrote in message
> >>> news:OOExhjyzJHA.1092@TK2MSFTNGP06.phx.gbl...
> >>>> Thank you for replying Mark McGinty,
> >>>
>>>>> Forgetting about the PST file - you have it right that I want to move
> >>>> the sent items to the "proper" (SentOnBehalfOfName) account - but I
> >>>> want to accomplish this as the items are being sent, and not have to
> >>>> hard-code the folder name.
> >>>
>>>>> This is a very easy task if I wanted to hardcode the folder name, but
> >>>> as I have stated in previous posts - I have already accomplished this
> >>>> in an Exchange environment, but in a "PST" environment the user can
> >>>> change the Account Name - making SentOnBehalfOfName useless.
> >>>
>>>>> Thank you for any insites,
> >>>
>>>>> "Mark McGinty" <mmcginty@spamfromyou.com> wrote in message
> >>>> news:eaIHP5ozJHA.5032@TK2MSFTNGP05.phx.gbl...
> >>>>
>>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>>> news:uM84KNczJHA.1716@TK2MSFTNGP03.phx.gbl...
> >>>>>> Maybe I need supply more information?
> >>>>>
>>>>>>> I am trying to determine if a sent email (from address) belongs to
> >>>>>> an existing (visible) mailbox...
> >>>>>
>>>>>>> Lets say I have multiple accounts (PST files as I already have
> >>>>>> Exchange folders working) setup - I want to be able to determine
> >>>>>> which account the email was sent from.
> >>>>>
>>>>>>> I don't want to have to hard-code the folder name (Select Case to
> >>>>>> match address to folder) as a (PST) mailbox can be renamed.
> >>>>>
>>>>>>> I thought of using StoreID but a sent email (Parent.StoreID) takes
> >>>>>> on the Default account's ID.
> >>>>>
>>>>>>> Any help would be greatly appreciated,
> >>>>
>>>>>> I'm still a little unclear as to what you're trying to do. You are
> >>>>> talking about an Outlook profile that is configured to sync with
> >>>>> multiple POP3 accounts, correct? It seems like you are inferring
> >>>>> that each POP3 account logically maps to a separate .PST file -- that
> >>>>> is not the case. Mail from all POP3 accounts is delivered to a single
> >>>>> Inbox folder in a single .PST.
> >>>>
>>>>>> When you have multiple configured POP3 accounts you may choose which
> >>>>> you want to send from, when composing; by default the from address
> >>>>> for a reply is dictated by the account on which it was received (but
> >>>>> it is still user-selectable.)
> >>>>
>>>>>> If what you want to do is separate the items in Sent Items, according
> >>>>> to the POP3 account from which it was sent, I think you could get
> >>>>> that by reading the PR_SENDER_EMAIL_ADDRESS property (using extended
> >>>>> MAPI or Redemption) and move the item accordingly. But a separate
> >>>>> destination corresponding to each POP3 will not already exist, you'll
> >>>>> have to create them yourself (presumably as folders under Sent
> >>>>> Items -- as a user I personally would be disenchanted by an AddIn
> >>>>> that created a bunch of .PST files like that.)
> >>>>
>>>>>
>>>>>> -Mark
> >>>>
>>>>>
>>>>>
>>>>>
>>>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>>>> news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> >>>>>>> I've written a Macro that moves sent email to the proper Mailbox
> >>>>>>> without hard-coding Mailbox name; working great with Exchange
> >>>>>>> Accounts, but if this same approch is used with PST Accounts...
> >>>>>>
>>>>>>>> I don't know how (where to begin) to match the Sent mail to the
> >>>>>>> correct folder, as the folder name can be renamed and may not match
> >>>>>>> the SentOnBehalfOfName?
> >>>>>>
>>>>>>>> Thank you for any assistance,
> >>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>>

>

>>


>
 
I will be using the GAL for my Exchange accounts, but outside of work I need

to access POP3/SMTP accounts.

So the short answer is POP3/SMTP.

Thank you (hope I haven't left this to long?),

"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message

news:%239KjdNm1JHA.4412@TK2MSFTNGP06.phx.gbl...
> So do you want to access POP3/SMTP accounts or use the Exchange
> mailboxes?

> > Dmitry Streblechenko (MVP)
>

>

>

> -
> "JHP" <JHP@goawayplease.com> wrote in message
> news:%23fK3oGZ1JHA.1900@TK2MSFTNGP04.phx.gbl...
> > Just getting back to this:
>

>> Again thank you for your expertise, I really appreciate you taking the
> > time here... really!
>

>> Is it possible to access that information the way Outlook does
> > (POP3/SMTP) via script?
>

>> I really like the idea of using the GAL - thank you.
>

>
>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> > news:eHJ1EVb0JHA.2656@TK2MSFTNGP05.phx.gbl...
> >> Email does not know that, but Outlook does. For the POP3/SMTP accounts,
> >> that information is tored along with the other account related
> >> information, such as the names of the servers.
> >> In case of Exchanage, you would need to read the entry id of the GAL
> >> user, open the user's Sent Items foleer using
> >> Namespace.GetSharedDefaultFolder, then move the message there.
> >
>>> > >> Dmitry Streblechenko (MVP)
> >>

> >>

> >>

> >> -
> >> "JHP" <JHP@goawayplease.com> wrote in message
> >> news:OhF8N60zJHA.5684@TK2MSFTNGP04.phx.gbl...
> >>> Yes - under User Information - E-mail Address.
> >>
>>>> If you reverse the process... how does an incoming email know to go to
> >>> a particular folder (Account); I would like to know that logic and
> >>> apply it here.
> >>
>>>> When I send an email as someone else I want to move the mail item to
> >>> the correct Sent Items folder (if it exists in the current profile),
> >>> but I don't want to hard code the Folder Name to the Sender Name as the
> >>> folder name may change.
> >>
>>>> The following is what I did for our Exchange environment
> >>> (ThisOutlookSession):
> >>
>>>> Private WithEvents sentItems As Items
> >>
>>>> Private Sub Application_Startup()
> >>> Dim objNS As NameSpace
> >>> Dim objRecipient As Recipient
> >>> Dim objFolder As MAPIFolder
> >>
>>>> Set objNS = Me.GetNamespace("MAPI")
> >>> Set objRecipient = objNS.CreateRecipient(objNS.CurrentUser.Address)
> >>> objRecipient.Resolve
> >>
>>>> If objRecipient.Resolved Then
> >>> Set objFolder = objNS.GetDefaultFolder(olFolderSentMail)
> >>> Set sentItems = objFolder.Items
> >>> Set objFolder = Nothing
> >>> Else
> >>> MsgBox ("Error: Name Not Resolved - Please Contact Your
> >>> Administrator")
> >>> End If
> >>> Set objRecipient = Nothing
> >>> Set objNS = Nothing
> >>> End Sub
> >>
>>>> Private Sub sentItems_ItemAdd(ByVal Item As Object)
> >>> Dim objItem As Outlook.MailItem
> >>> Dim objNS As NameSpace
> >>> Const g_PR_SMTP_ADDRESS_W = &H39FE001F
> >>
>>>> If (TypeOf Item Is Outlook.MailItem) Then
> >>> Set objItem = Item
> >>> Set objNS = Me.GetNamespace("MAPI")
> >>
>>>> If objNS.CurrentUser.Name <> objItem.SentOnBehalfOfName And
> >>> objNS.CurrentUser.Name <> objNS.CurrentUser.Address Then
> >>> strEntryID = objItem.EntryID
> >>> strStoreID = objItem.Parent.StoreID
> >>> Set objSession = CreateObject("MAPI.Session")
> >>> objSession.Logon "", "", False, False
> >>> Set objMessage = objSession.GetMessage(strEntryID,
> >>> strStoreID)
> >>> strAddress = objMessage.Sender.Address
> >>
>>>> If Not InStr(strAddress, "@") Then
> >>> On Error Resume Next
> >>> strAddress =
> >>> objMessage.Sender.Fields(g_PR_SMTP_ADDRESS_W).Value
> >>> End If
> >>> objSession.Logoff
> >>> Set objMessage = Nothing
> >>> Set objSession = Nothing
> >>> Set objFolders = objNS.Folders
> >>
>>>> For Each rtnFolder In objFolders
> >>> strMailbox = rtnFolder.Name
> >>
>>>> If strMailbox = "Mailbox - " &
> >>> objItem.SentOnBehalfOfName Then
> >>> Set objSentItems =
> >>> objNS.Folders(strMailbox).Folders("Sent Items")
> >>> objItem.Move objSentItems
> >>> Set objSentItems = Nothing
> >>> Exit For
> >>> End If
> >>> Next
> >>> Set objFolders = Nothing
> >>> End If
> >>> Set objNS = Nothing
> >>> Set objItem = Nothing
> >>> End If
> >>> End Sub
> >>
>>>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> >>> news:uE1Qzn0zJHA.1424@TK2MSFTNGP02.phx.gbl...
> >>>> How exactly do you associate an SMTP account with the store? Do you
> >>>> set where the messages will be delivered in Tools | Accounts?
> >>>
>>>>> > >>>> Dmitry Streblechenko (MVP)
> >>>>

> >>>>

> >>>>

> >>>> -
> >>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>> news:OOExhjyzJHA.1092@TK2MSFTNGP06.phx.gbl...
> >>>>> Thank you for replying Mark McGinty,
> >>>>
>>>>>> Forgetting about the PST file - you have it right that I want to move
> >>>>> the sent items to the "proper" (SentOnBehalfOfName) account - but I
> >>>>> want to accomplish this as the items are being sent, and not have to
> >>>>> hard-code the folder name.
> >>>>
>>>>>> This is a very easy task if I wanted to hardcode the folder name, but
> >>>>> as I have stated in previous posts - I have already accomplished this
> >>>>> in an Exchange environment, but in a "PST" environment the user can
> >>>>> change the Account Name - making SentOnBehalfOfName useless.
> >>>>
>>>>>> Thank you for any insites,
> >>>>
>>>>>> "Mark McGinty" <mmcginty@spamfromyou.com> wrote in message
> >>>>> news:eaIHP5ozJHA.5032@TK2MSFTNGP05.phx.gbl...
> >>>>>
>>>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>>>> news:uM84KNczJHA.1716@TK2MSFTNGP03.phx.gbl...
> >>>>>>> Maybe I need supply more information?
> >>>>>>
>>>>>>>> I am trying to determine if a sent email (from address) belongs to
> >>>>>>> an existing (visible) mailbox...
> >>>>>>
>>>>>>>> Lets say I have multiple accounts (PST files as I already have
> >>>>>>> Exchange folders working) setup - I want to be able to determine
> >>>>>>> which account the email was sent from.
> >>>>>>
>>>>>>>> I don't want to have to hard-code the folder name (Select Case to
> >>>>>>> match address to folder) as a (PST) mailbox can be renamed.
> >>>>>>
>>>>>>>> I thought of using StoreID but a sent email (Parent.StoreID) takes
> >>>>>>> on the Default account's ID.
> >>>>>>
>>>>>>>> Any help would be greatly appreciated,
> >>>>>
>>>>>>> I'm still a little unclear as to what you're trying to do. You are
> >>>>>> talking about an Outlook profile that is configured to sync with
> >>>>>> multiple POP3 accounts, correct? It seems like you are inferring
> >>>>>> that each POP3 account logically maps to a separate .PST file > >>>>>> that is not the case. Mail from all POP3 accounts is delivered to a
> >>>>>> single Inbox folder in a single .PST.
> >>>>>
>>>>>>> When you have multiple configured POP3 accounts you may choose which
> >>>>>> you want to send from, when composing; by default the from address
> >>>>>> for a reply is dictated by the account on which it was received (but
> >>>>>> it is still user-selectable.)
> >>>>>
>>>>>>> If what you want to do is separate the items in Sent Items,
> >>>>>> according to the POP3 account from which it was sent, I think you
> >>>>>> could get that by reading the PR_SENDER_EMAIL_ADDRESS property
> >>>>>> (using extended MAPI or Redemption) and move the item accordingly.
> >>>>>> But a separate destination corresponding to each POP3 will not
> >>>>>> already exist, you'll have to create them yourself (presumably as
> >>>>>> folders under Sent Items -- as a user I personally would be
> >>>>>> disenchanted by an AddIn that created a bunch of .PST files like
> >>>>>> that.)
> >>>>>
>>>>>>
>>>>>>> -Mark
> >>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>>>>> news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> >>>>>>>> I've written a Macro that moves sent email to the proper Mailbox
> >>>>>>>> without hard-coding Mailbox name; working great with Exchange
> >>>>>>>> Accounts, but if this same approch is used with PST Accounts...
> >>>>>>>
>>>>>>>>> I don't know how (where to begin) to match the Sent mail to the
> >>>>>>>> correct folder, as the folder name can be renamed and may not
> >>>>>>>> match the SentOnBehalfOfName?
> >>>>>>>
>>>>>>>>> Thank you for any assistance,
> >>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>>

>

>>


>
 
You cannot get to the acount-specific Sent Items folder using the Outlook

Object Model alone - you would need to use either Extended MAPI

(IOlkAccountMgr object) or <plug> Redemption: use RDOPOP3Account object and

its DeliverToStore, DeliverToFolder, SaveSentMessageFolder properties -

http://www.dimastr.com/redemption/rdo/RDOAccount.htm#RDOPOP3Account </plug

Dmitry Streblechenko (MVP)

-

"JHP" <JHP@goawayplease.com> wrote in message

news:u7L0XfX2JHA.1420@TK2MSFTNGP04.phx.gbl...
> I will be using the GAL for my Exchange accounts, but outside of work I
> need to access POP3/SMTP accounts.

> So the short answer is POP3/SMTP.

> Thank you (hope I haven't left this to long?),

> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> news:%239KjdNm1JHA.4412@TK2MSFTNGP06.phx.gbl...
> > So do you want to access POP3/SMTP accounts or use the Exchange
> > mailboxes?
>

>> > > Dmitry Streblechenko (MVP)
> >

> >

> >

> > -
> > "JHP" <JHP@goawayplease.com> wrote in message
> > news:%23fK3oGZ1JHA.1900@TK2MSFTNGP04.phx.gbl...
> >> Just getting back to this:
> >
>>> Again thank you for your expertise, I really appreciate you taking the
> >> time here... really!
> >
>>> Is it possible to access that information the way Outlook does
> >> (POP3/SMTP) via script?
> >
>>> I really like the idea of using the GAL - thank you.
> >
>>
>>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> >> news:eHJ1EVb0JHA.2656@TK2MSFTNGP05.phx.gbl...
> >>> Email does not know that, but Outlook does. For the POP3/SMTP accounts,
> >>> that information is tored along with the other account related
> >>> information, such as the names of the servers.
> >>> In case of Exchanage, you would need to read the entry id of the GAL
> >>> user, open the user's Sent Items foleer using
> >>> Namespace.GetSharedDefaultFolder, then move the message there.
> >>
>>>> > >>> Dmitry Streblechenko (MVP)
> >>>

> >>>

> >>>

> >>> -
> >>> "JHP" <JHP@goawayplease.com> wrote in message
> >>> news:OhF8N60zJHA.5684@TK2MSFTNGP04.phx.gbl...
> >>>> Yes - under User Information - E-mail Address.
> >>>
>>>>> If you reverse the process... how does an incoming email know to go to
> >>>> a particular folder (Account); I would like to know that logic and
> >>>> apply it here.
> >>>
>>>>> When I send an email as someone else I want to move the mail item to
> >>>> the correct Sent Items folder (if it exists in the current profile),
> >>>> but I don't want to hard code the Folder Name to the Sender Name as
> >>>> the folder name may change.
> >>>
>>>>> The following is what I did for our Exchange environment
> >>>> (ThisOutlookSession):
> >>>
>>>>> Private WithEvents sentItems As Items
> >>>
>>>>> Private Sub Application_Startup()
> >>>> Dim objNS As NameSpace
> >>>> Dim objRecipient As Recipient
> >>>> Dim objFolder As MAPIFolder
> >>>
>>>>> Set objNS = Me.GetNamespace("MAPI")
> >>>> Set objRecipient = objNS.CreateRecipient(objNS.CurrentUser.Address)
> >>>> objRecipient.Resolve
> >>>
>>>>> If objRecipient.Resolved Then
> >>>> Set objFolder = objNS.GetDefaultFolder(olFolderSentMail)
> >>>> Set sentItems = objFolder.Items
> >>>> Set objFolder = Nothing
> >>>> Else
> >>>> MsgBox ("Error: Name Not Resolved - Please Contact Your
> >>>> Administrator")
> >>>> End If
> >>>> Set objRecipient = Nothing
> >>>> Set objNS = Nothing
> >>>> End Sub
> >>>
>>>>> Private Sub sentItems_ItemAdd(ByVal Item As Object)
> >>>> Dim objItem As Outlook.MailItem
> >>>> Dim objNS As NameSpace
> >>>> Const g_PR_SMTP_ADDRESS_W = &H39FE001F
> >>>
>>>>> If (TypeOf Item Is Outlook.MailItem) Then
> >>>> Set objItem = Item
> >>>> Set objNS = Me.GetNamespace("MAPI")
> >>>
>>>>> If objNS.CurrentUser.Name <> objItem.SentOnBehalfOfName And
> >>>> objNS.CurrentUser.Name <> objNS.CurrentUser.Address Then
> >>>> strEntryID = objItem.EntryID
> >>>> strStoreID = objItem.Parent.StoreID
> >>>> Set objSession = CreateObject("MAPI.Session")
> >>>> objSession.Logon "", "", False, False
> >>>> Set objMessage = objSession.GetMessage(strEntryID,
> >>>> strStoreID)
> >>>> strAddress = objMessage.Sender.Address
> >>>
>>>>> If Not InStr(strAddress, "@") Then
> >>>> On Error Resume Next
> >>>> strAddress =
> >>>> objMessage.Sender.Fields(g_PR_SMTP_ADDRESS_W).Value
> >>>> End If
> >>>> objSession.Logoff
> >>>> Set objMessage = Nothing
> >>>> Set objSession = Nothing
> >>>> Set objFolders = objNS.Folders
> >>>
>>>>> For Each rtnFolder In objFolders
> >>>> strMailbox = rtnFolder.Name
> >>>
>>>>> If strMailbox = "Mailbox - " &
> >>>> objItem.SentOnBehalfOfName Then
> >>>> Set objSentItems =
> >>>> objNS.Folders(strMailbox).Folders("Sent Items")
> >>>> objItem.Move objSentItems
> >>>> Set objSentItems = Nothing
> >>>> Exit For
> >>>> End If
> >>>> Next
> >>>> Set objFolders = Nothing
> >>>> End If
> >>>> Set objNS = Nothing
> >>>> Set objItem = Nothing
> >>>> End If
> >>>> End Sub
> >>>
>>>>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> >>>> news:uE1Qzn0zJHA.1424@TK2MSFTNGP02.phx.gbl...
> >>>>> How exactly do you associate an SMTP account with the store? Do you
> >>>>> set where the messages will be delivered in Tools | Accounts?
> >>>>
>>>>>> > >>>>> Dmitry Streblechenko (MVP)
> >>>>>

> >>>>>

> >>>>>

> >>>>> -
> >>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>>> news:OOExhjyzJHA.1092@TK2MSFTNGP06.phx.gbl...
> >>>>>> Thank you for replying Mark McGinty,
> >>>>>
>>>>>>> Forgetting about the PST file - you have it right that I want to
> >>>>>> move the sent items to the "proper" (SentOnBehalfOfName) account -
> >>>>>> but I want to accomplish this as the items are being sent, and not
> >>>>>> have to hard-code the folder name.
> >>>>>
>>>>>>> This is a very easy task if I wanted to hardcode the folder name,
> >>>>>> but as I have stated in previous posts - I have already accomplished
> >>>>>> this in an Exchange environment, but in a "PST" environment the user
> >>>>>> can change the Account Name - making SentOnBehalfOfName useless.
> >>>>>
>>>>>>> Thank you for any insites,
> >>>>>
>>>>>>> "Mark McGinty" <mmcginty@spamfromyou.com> wrote in message
> >>>>>> news:eaIHP5ozJHA.5032@TK2MSFTNGP05.phx.gbl...
> >>>>>>
>>>>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>>>>> news:uM84KNczJHA.1716@TK2MSFTNGP03.phx.gbl...
> >>>>>>>> Maybe I need supply more information?
> >>>>>>>
>>>>>>>>> I am trying to determine if a sent email (from address) belongs to
> >>>>>>>> an existing (visible) mailbox...
> >>>>>>>
>>>>>>>>> Lets say I have multiple accounts (PST files as I already have
> >>>>>>>> Exchange folders working) setup - I want to be able to determine
> >>>>>>>> which account the email was sent from.
> >>>>>>>
>>>>>>>>> I don't want to have to hard-code the folder name (Select Case to
> >>>>>>>> match address to folder) as a (PST) mailbox can be renamed.
> >>>>>>>
>>>>>>>>> I thought of using StoreID but a sent email (Parent.StoreID) takes
> >>>>>>>> on the Default account's ID.
> >>>>>>>
>>>>>>>>> Any help would be greatly appreciated,
> >>>>>>
>>>>>>>> I'm still a little unclear as to what you're trying to do. You are
> >>>>>>> talking about an Outlook profile that is configured to sync with
> >>>>>>> multiple POP3 accounts, correct? It seems like you are inferring
> >>>>>>> that each POP3 account logically maps to a separate .PST file > >>>>>>> that is not the case. Mail from all POP3 accounts is delivered to a
> >>>>>>> single Inbox folder in a single .PST.
> >>>>>>
>>>>>>>> When you have multiple configured POP3 accounts you may choose
> >>>>>>> which you want to send from, when composing; by default the from
> >>>>>>> address for a reply is dictated by the account on which it was
> >>>>>>> received (but it is still user-selectable.)
> >>>>>>
>>>>>>>> If what you want to do is separate the items in Sent Items,
> >>>>>>> according to the POP3 account from which it was sent, I think you
> >>>>>>> could get that by reading the PR_SENDER_EMAIL_ADDRESS property
> >>>>>>> (using extended MAPI or Redemption) and move the item accordingly.
> >>>>>>> But a separate destination corresponding to each POP3 will not
> >>>>>>> already exist, you'll have to create them yourself (presumably as
> >>>>>>> folders under Sent Items -- as a user I personally would be
> >>>>>>> disenchanted by an AddIn that created a bunch of .PST files like
> >>>>>>> that.)
> >>>>>>
>>>>>>>
>>>>>>>> -Mark
> >>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>>>>>> news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> >>>>>>>>> I've written a Macro that moves sent email to the proper Mailbox
> >>>>>>>>> without hard-coding Mailbox name; working great with Exchange
> >>>>>>>>> Accounts, but if this same approch is used with PST Accounts...
> >>>>>>>>
>>>>>>>>>> I don't know how (where to begin) to match the Sent mail to the
> >>>>>>>>> correct folder, as the folder name can be renamed and may not
> >>>>>>>>> match the SentOnBehalfOfName?
> >>>>>>>>
>>>>>>>>>> Thank you for any assistance,
> >>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>>

>

>>


>
 
Thank you so much for taking the time to enlighten - very much

appreciated...

"Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message

news:OHbgLYI3JHA.4412@TK2MSFTNGP06.phx.gbl...
> You cannot get to the acount-specific Sent Items folder using the Outlook
> Object Model alone - you would need to use either Extended MAPI
> (IOlkAccountMgr object) or <plug> Redemption: use RDOPOP3Account object
> and its DeliverToStore, DeliverToFolder, SaveSentMessageFolder
> properties -
> http://www.dimastr.com/redemption/rdo/RDOAccount.htm#RDOPOP3Account
> </plug
> > Dmitry Streblechenko (MVP)
>

>

>

> -
> "JHP" <JHP@goawayplease.com> wrote in message
> news:u7L0XfX2JHA.1420@TK2MSFTNGP04.phx.gbl...
> >I will be using the GAL for my Exchange accounts, but outside of work I
> >need to access POP3/SMTP accounts.
>

>> So the short answer is POP3/SMTP.
>

>> Thank you (hope I haven't left this to long?),
>

>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> > news:%239KjdNm1JHA.4412@TK2MSFTNGP06.phx.gbl...
> >> So do you want to access POP3/SMTP accounts or use the Exchange
> >> mailboxes?
> >
>>> > >> Dmitry Streblechenko (MVP)
> >>

> >>

> >>

> >> -
> >> "JHP" <JHP@goawayplease.com> wrote in message
> >> news:%23fK3oGZ1JHA.1900@TK2MSFTNGP04.phx.gbl...
> >>> Just getting back to this:
> >>
>>>> Again thank you for your expertise, I really appreciate you taking the
> >>> time here... really!
> >>
>>>> Is it possible to access that information the way Outlook does
> >>> (POP3/SMTP) via script?
> >>
>>>> I really like the idea of using the GAL - thank you.
> >>
>>>
>>>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> >>> news:eHJ1EVb0JHA.2656@TK2MSFTNGP05.phx.gbl...
> >>>> Email does not know that, but Outlook does. For the POP3/SMTP
> >>>> accounts, that information is tored along with the other account
> >>>> related information, such as the names of the servers.
> >>>> In case of Exchanage, you would need to read the entry id of the GAL
> >>>> user, open the user's Sent Items foleer using
> >>>> Namespace.GetSharedDefaultFolder, then move the message there.
> >>>
>>>>> > >>>> Dmitry Streblechenko (MVP)
> >>>>

> >>>>

> >>>>

> >>>> -
> >>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>> news:OhF8N60zJHA.5684@TK2MSFTNGP04.phx.gbl...
> >>>>> Yes - under User Information - E-mail Address.
> >>>>
>>>>>> If you reverse the process... how does an incoming email know to go
> >>>>> to a particular folder (Account); I would like to know that logic and
> >>>>> apply it here.
> >>>>
>>>>>> When I send an email as someone else I want to move the mail item to
> >>>>> the correct Sent Items folder (if it exists in the current profile),
> >>>>> but I don't want to hard code the Folder Name to the Sender Name as
> >>>>> the folder name may change.
> >>>>
>>>>>> The following is what I did for our Exchange environment
> >>>>> (ThisOutlookSession):
> >>>>
>>>>>> Private WithEvents sentItems As Items
> >>>>
>>>>>> Private Sub Application_Startup()
> >>>>> Dim objNS As NameSpace
> >>>>> Dim objRecipient As Recipient
> >>>>> Dim objFolder As MAPIFolder
> >>>>
>>>>>> Set objNS = Me.GetNamespace("MAPI")
> >>>>> Set objRecipient =
> >>>>> objNS.CreateRecipient(objNS.CurrentUser.Address)
> >>>>> objRecipient.Resolve
> >>>>
>>>>>> If objRecipient.Resolved Then
> >>>>> Set objFolder = objNS.GetDefaultFolder(olFolderSentMail)
> >>>>> Set sentItems = objFolder.Items
> >>>>> Set objFolder = Nothing
> >>>>> Else
> >>>>> MsgBox ("Error: Name Not Resolved - Please Contact Your
> >>>>> Administrator")
> >>>>> End If
> >>>>> Set objRecipient = Nothing
> >>>>> Set objNS = Nothing
> >>>>> End Sub
> >>>>
>>>>>> Private Sub sentItems_ItemAdd(ByVal Item As Object)
> >>>>> Dim objItem As Outlook.MailItem
> >>>>> Dim objNS As NameSpace
> >>>>> Const g_PR_SMTP_ADDRESS_W = &H39FE001F
> >>>>
>>>>>> If (TypeOf Item Is Outlook.MailItem) Then
> >>>>> Set objItem = Item
> >>>>> Set objNS = Me.GetNamespace("MAPI")
> >>>>
>>>>>> If objNS.CurrentUser.Name <> objItem.SentOnBehalfOfName And
> >>>>> objNS.CurrentUser.Name <> objNS.CurrentUser.Address Then
> >>>>> strEntryID = objItem.EntryID
> >>>>> strStoreID = objItem.Parent.StoreID
> >>>>> Set objSession = CreateObject("MAPI.Session")
> >>>>> objSession.Logon "", "", False, False
> >>>>> Set objMessage = objSession.GetMessage(strEntryID,
> >>>>> strStoreID)
> >>>>> strAddress = objMessage.Sender.Address
> >>>>
>>>>>> If Not InStr(strAddress, "@") Then
> >>>>> On Error Resume Next
> >>>>> strAddress =
> >>>>> objMessage.Sender.Fields(g_PR_SMTP_ADDRESS_W).Value
> >>>>> End If
> >>>>> objSession.Logoff
> >>>>> Set objMessage = Nothing
> >>>>> Set objSession = Nothing
> >>>>> Set objFolders = objNS.Folders
> >>>>
>>>>>> For Each rtnFolder In objFolders
> >>>>> strMailbox = rtnFolder.Name
> >>>>
>>>>>> If strMailbox = "Mailbox - " &
> >>>>> objItem.SentOnBehalfOfName Then
> >>>>> Set objSentItems =
> >>>>> objNS.Folders(strMailbox).Folders("Sent Items")
> >>>>> objItem.Move objSentItems
> >>>>> Set objSentItems = Nothing
> >>>>> Exit For
> >>>>> End If
> >>>>> Next
> >>>>> Set objFolders = Nothing
> >>>>> End If
> >>>>> Set objNS = Nothing
> >>>>> Set objItem = Nothing
> >>>>> End If
> >>>>> End Sub
> >>>>
>>>>>> "Dmitry Streblechenko" <dmitry@dimastr.com> wrote in message
> >>>>> news:uE1Qzn0zJHA.1424@TK2MSFTNGP02.phx.gbl...
> >>>>>> How exactly do you associate an SMTP account with the store? Do you
> >>>>>> set where the messages will be delivered in Tools | Accounts?
> >>>>>
>>>>>>> > >>>>>> Dmitry Streblechenko (MVP)
> >>>>>>

> >>>>>>

> >>>>>>

> >>>>>> -
> >>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>>>> news:OOExhjyzJHA.1092@TK2MSFTNGP06.phx.gbl...
> >>>>>>> Thank you for replying Mark McGinty,
> >>>>>>
>>>>>>>> Forgetting about the PST file - you have it right that I want to
> >>>>>>> move the sent items to the "proper" (SentOnBehalfOfName) account -
> >>>>>>> but I want to accomplish this as the items are being sent, and not
> >>>>>>> have to hard-code the folder name.
> >>>>>>
>>>>>>>> This is a very easy task if I wanted to hardcode the folder name,
> >>>>>>> but as I have stated in previous posts - I have already
> >>>>>>> accomplished this in an Exchange environment, but in a "PST"
> >>>>>>> environment the user can change the Account Name - making
> >>>>>>> SentOnBehalfOfName useless.
> >>>>>>
>>>>>>>> Thank you for any insites,
> >>>>>>
>>>>>>>> "Mark McGinty" <mmcginty@spamfromyou.com> wrote in message
> >>>>>>> news:eaIHP5ozJHA.5032@TK2MSFTNGP05.phx.gbl...
> >>>>>>>
>>>>>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>>>>>> news:uM84KNczJHA.1716@TK2MSFTNGP03.phx.gbl...
> >>>>>>>>> Maybe I need supply more information?
> >>>>>>>>
>>>>>>>>>> I am trying to determine if a sent email (from address) belongs
> >>>>>>>>> to an existing (visible) mailbox...
> >>>>>>>>
>>>>>>>>>> Lets say I have multiple accounts (PST files as I already have
> >>>>>>>>> Exchange folders working) setup - I want to be able to determine
> >>>>>>>>> which account the email was sent from.
> >>>>>>>>
>>>>>>>>>> I don't want to have to hard-code the folder name (Select Case to
> >>>>>>>>> match address to folder) as a (PST) mailbox can be renamed.
> >>>>>>>>
>>>>>>>>>> I thought of using StoreID but a sent email (Parent.StoreID)
> >>>>>>>>> takes on the Default account's ID.
> >>>>>>>>
>>>>>>>>>> Any help would be greatly appreciated,
> >>>>>>>
>>>>>>>>> I'm still a little unclear as to what you're trying to do. You
> >>>>>>>> are talking about an Outlook profile that is configured to sync
> >>>>>>>> with multiple POP3 accounts, correct? It seems like you are
> >>>>>>>> inferring that each POP3 account logically maps to a separate .PST
> >>>>>>>> file -- that is not the case. Mail from all POP3 accounts is
> >>>>>>>> delivered to a single Inbox folder in a single .PST.
> >>>>>>>
>>>>>>>>> When you have multiple configured POP3 accounts you may choose
> >>>>>>>> which you want to send from, when composing; by default the from
> >>>>>>>> address for a reply is dictated by the account on which it was
> >>>>>>>> received (but it is still user-selectable.)
> >>>>>>>
>>>>>>>>> If what you want to do is separate the items in Sent Items,
> >>>>>>>> according to the POP3 account from which it was sent, I think you
> >>>>>>>> could get that by reading the PR_SENDER_EMAIL_ADDRESS property
> >>>>>>>> (using extended MAPI or Redemption) and move the item accordingly.
> >>>>>>>> But a separate destination corresponding to each POP3 will not
> >>>>>>>> already exist, you'll have to create them yourself (presumably as
> >>>>>>>> folders under Sent Items -- as a user I personally would be
> >>>>>>>> disenchanted by an AddIn that created a bunch of .PST files like
> >>>>>>>> that.)
> >>>>>>>
>>>>>>>>
>>>>>>>>> -Mark
> >>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>> "JHP" <JHP@goawayplease.com> wrote in message
> >>>>>>>>> news:eaHz9hPzJHA.4412@TK2MSFTNGP06.phx.gbl...
> >>>>>>>>>> I've written a Macro that moves sent email to the proper Mailbox
> >>>>>>>>>> without hard-coding Mailbox name; working great with Exchange
> >>>>>>>>>> Accounts, but if this same approch is used with PST Accounts...
> >>>>>>>>>
>>>>>>>>>>> I don't know how (where to begin) to match the Sent mail to the
> >>>>>>>>>> correct folder, as the folder name can be renamed and may not
> >>>>>>>>>> match the SentOnBehalfOfName?
> >>>>>>>>>
>>>>>>>>>>> Thank you for any assistance,
> >>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>>

>

>>


>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
icacream Outlook 2021 Win 10 - Nothing goes in my Drafts or Sent items folders ! Using Outlook 1
J Names in sent items suddenly show as Bob Smith (bobsmith@sample.com) Using Outlook 3
M Messages Intermittently Dont Arrive In Sent Items After Sending Successfully Using Outlook 4
D Outlook 2016 Outlook not saving Sent Items Using Outlook 4
T Changing Sent Items location in Outlook 2019 Using Outlook 0
D Mail in Sent Items Gone Using Outlook 12
GregS Outlook 2016 Sent Mail absent from Sent Mail or Sent Items Folders Using Outlook 4
J Sent Items Folder NOT Showing Correct From Email Address Using Outlook 0
J Outlook Reply > From > Other Email Address... > Address Not Showing in Sent Items... From Email Outlook VBA and Custom Forms 0
GregS Outlook 2016 Sent Items vs Sent Messages Using Outlook 2
M Sent mail not showing in Sent Items folder; but they can be found with Search Using Outlook 3
W Outlook 2010 some sent items marked unread now (was Ok before) Using Outlook 0
V Items missing in Sent folder Using Outlook 10
M Sent Items Folder is Present but Not Displayed Using Outlook 2
S Send email via SMTP - use transport rules to add to senders inbox (then rule to move to sent items Exchange Server Administration 1
Diane Poremsky Mark Sent Items as Read After Copying with a Rule Using Outlook 0
P Sent items folder vs sent folder Using Outlook 1
Diane Poremsky Display the Recipient Email Address in the Sent Items Folder Using Outlook 0
Diane Poremsky Save Sent Items in Shared Mailbox using an Exchange Server Cmdlet Using Outlook 0
S HOW CAN I CHANGE THIS TO SENT ITEMS Outlook VBA and Custom Forms 3
M Email Appearance in Sent Items Folder Using Outlook 1
M Move Sent Items from server folder to personal folder Using Outlook 2
K Sent Items not holding Newest on Top Using Outlook 3
F Get details of sent items with Access VBA Outlook VBA and Custom Forms 1
S categorizing and Filing sent mail items Outlook VBA and Custom Forms 2
J VBA to copy sent items to folder Outlook VBA and Custom Forms 3
G Macro to move sent items from local folder to IMAP folder Using Outlook 4
R Move sent items emails to hard disk Using Outlook 10
T From Field Blank when saving to folder other than Sent items Using Outlook 2
J Rule to put ONLY sent items in specific folder Using Outlook 1
L Outlook sent items. (email) Using Outlook 2
O Outlook 2013 using DAMO (connector for Domino) Sent Items Issue Using Outlook 2
T Message not arriving in default accounts Sent Items folder when using Send to Using Outlook 2
V Archiving Sent Items Using Outlook 1
O New to Outlook 2013, dealing with copying vs. moving sent items Using Outlook 0
J sent email not reflected on sent items Using Outlook 1
R View who sent on behalf of a shared mailbox in Outlook sent items Using Outlook 1
P move mails after send to central mailbox-sent items folder Using Outlook 4
T Sent Items Rule and Client Only Using Outlook 5
B Can't see Sent Items folder in OL 2010 Imap Using Outlook 1
V Outlook 2010 IMAP Sent Items some items appear in Outlook Data File Using Outlook 3
G Nothing in 'Sent Items' folder in Outlook 2010 Using Outlook 5
B Outlook 2k3 with Exchange: Browsing Sent items without downloading? Using Outlook 2
C Print all emails in a single folder with sent items Using Outlook 2
G Sent Items Using Outlook 5
G Manually created Sent Items folder is lost Using Outlook 4
B Sent Items Not Displaying in Outlook 2010 Client Using Outlook 2
S Autoforward Sent Items Using Outlook 1
H Sent emails end up in duplicate in Sent items folder Using Outlook 13
J Sent Items Folder Isn't Showing the Most Recent Sent Items Using Outlook 7

Similar threads

Back
Top