 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Leif Magne Svendsen Guest
|
Posted: Wed Jun 25, 2003 8:31 pm Post subject: How can I send Outlook mail from a delphi 7 program... |
|
|
....as another 'sender'...
We have a helpdesk inbox and my own mailboxes, but how can I send mail
as it was from the helpdesk and any replay would go to the helpdesk
inbox...???
We have "Mailbox - Help desk" with calendar, contacts etc. and my
personal
mailbox:
Outlook Today - [Postboks -Leif Magne Svendsen]
This code will give me my personal inbox
OA := CreateOleObject('Outlook.Application');
NS := OA.GetNameSpace('MAPI');
FO := NS.GetDefaultFolder(olFolderInBox);
How can I get the other mailbox as 'default'?? I want that all reply
will end up in the helpdesk inbox...
Regards
Leif M. Svendsen
|
|
| Back to top |
|
 |
Dmitry Streblechenko Guest
|
Posted: Wed Jun 25, 2003 11:28 pm Post subject: Re: How can I send Outlook mail from a delphi 7 program... |
|
|
Use MailItem.ReplyRecipients collection to add an address where the reply
should go to.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
"Leif Magne Svendsen" <lmagsven (AT) online (DOT) no> wrote
| Quote: | ...as another 'sender'...
We have a helpdesk inbox and my own mailboxes, but how can I send mail
as it was from the helpdesk and any replay would go to the helpdesk
inbox...???
We have "Mailbox - Help desk" with calendar, contacts etc. and my
personal
mailbox:
Outlook Today - [Postboks -Leif Magne Svendsen]
This code will give me my personal inbox
OA := CreateOleObject('Outlook.Application');
NS := OA.GetNameSpace('MAPI');
FO := NS.GetDefaultFolder(olFolderInBox);
How can I get the other mailbox as 'default'?? I want that all reply
will end up in the helpdesk inbox...
Regards
Leif M. Svendsen
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|