exchange-server

Programmatically Checking for Outlook E-mails

不羁的心 提交于 2019-12-12 03:13:04
问题 I'm setting up an automated response with a third party. The third party can only respond via e-mail, so I need a way to determine when I get a new e-mail. My plan is to create a windows task that will run a C# program that checks to see if a new e-mail is from this third party. My company uses outlook, which runs off of the Microsoft Exchange database. I did some research, and I saw that some people use the Microsoft MAPI namespace. Is this the way to go about it? Is there some way that I

Remove users from distribution groups without additional confirmation

天大地大妈咪最大 提交于 2019-12-12 02:34:22
问题 I have the exchange powershell script below that works, but I don't know a lot about powershell script so hoping i could get some help in how I can have this same idea work, but not have to confirm removing the user from each group as the script runs. Basically want to run the script, remove the user and be done with it without any additional confirmation needed. If any additional information is needed, please let me know. $user = "user@domain.com" $groups = Get-DistributionGroup $DGs =

How to send mail with VBA using CDO // Mail Server is Exchange with proxy

♀尐吖头ヾ 提交于 2019-12-12 02:23:01
问题 This is my actual code on VBA... Private Message As CDO.Message Private Attachment, Expression, Matches, FilenameMatch, i Sub enviar_mail() Set Message = New CDO.Message Message.Subject = "my subject here" Message.From = "jhony.donosso@road-track.com" Message.To = "jhony.donosso@road-track.com" Message.TextBody = "my text body here" Dim Configuration Set Configuration = CreateObject("CDO.Configuration") Configuration.Load -1 ' CDO Source Defaults Configuration.Fields.Item("http://schemas

Changes in Outlook 2010 folder permissions not shown in Active Directory

断了今生、忘了曾经 提交于 2019-12-12 01:04:40
问题 I'm using the IADs object from VBA to get permissions information on mailboxes from ActiveDirectory and get plausible results but after I give a user permission to read my mailbox using the Folder Permissions dialog in Outlook Client and run the code again I see no change in the Active Directory permissions for msExchMailBoxSecurityDescriptor. 回答1: Folder level (unlike mailbox level) permissions are stored in the folders, not in the Active Directory. Permissions can be accessed using Extended

Powershell: Dynamic Distribution Group filtered by Office attribute

此生再无相见时 提交于 2019-12-12 00:16:13
问题 I've made several DDG's, but I'm having a bugger of a time using a recipient filter for the Office attribute. We are running Exchange 2007 SP3. I've tried lots of variations on the filter, trying to make it even simpler, but to no avail. I can use attributes like postalcode or title and works as designed. New-DynamicDistributionGroup -Name DDG-TEST ` -Alias DDG-TEST ` -RecipientFilter { RecipientType -eq 'UserMailbox' -and Office -eq 'Chicago' } ` -DisplayName DDG-TEST ` -OrganizationalUnit

Get Exchange user PrimarySmtpAddress for DisplayType olForum

北城以北 提交于 2019-12-11 21:15:59
问题 From an AddressEntry instance I'm calling GetExchangeUser or GetExchangeDistributionList methods to get PrimarySmtpAddress . This works fine when the AddressEntry has a DisplayType of olUser or olDistList , but both return null for an address with DisplayType of olForum . The Exchange address does have an associated SMTP address. In Outlook I can type the address into "To" on a new email and it resolves to the appropriate Exchange user. Double-click on the user and an SMTP address does show.

UNwanted blank space after variable

送分小仙女□ 提交于 2019-12-11 21:08:05
问题 Morning, I wander if you guys can help. here is the sample $From = Read-Host "Alias of the User Please?" Add-MailboxFolderPermission ${From}:\Calendar –User Test01 –AccessRights Editor Add-MailboxFolderPermission ${From}:\Calendar –User Test02 –AccessRights Editor Add-MailboxFolderPermission ${From}:\Calendar –User Test03 –AccessRights Editor Add-MailboxFolderPermission ${From}:\Calendar –User Test04 –AccessRights Editor Add-MailboxFolderPermission ${From}:\contacts –User Test01 –AccessRights

IMAP, Microsoft Exchange, Searching Emails

大城市里の小女人 提交于 2019-12-11 20:38:33
问题 I am currently working on a web app, that is essentially a CRM. The client wants to be able to do all his day to day business tasks through the CRM. The major point he wishes to have is the ability to send and receive emails from within his web app. Is this possible using IMAP? Could I get message threads etc? The other major point is that if he views a client profile he would like to see the email threads for that client. Is that possible? Can I retrieve emails based on the recipient or

What protocol does WP7 use to connect to mobile only “exchange” servers

白昼怎懂夜的黑 提交于 2019-12-11 20:29:31
问题 As the question says, what protocol does Windows Phone (and similar platforms) use to connect to mobile only exchange servers, such as m.google.com? 回答1: It uses the Exchange ActiveSync protocol, documented here. (Note that as it's a protocol, that means it doesn't actually have to talk to Exchange servers... just servers which speak the same protocol.) (As an aside, the quality of client support for this protocol is, um, variable. Some phones have a very interesting idea of what constitutes

The item you tried to access to longer exists

社会主义新天地 提交于 2019-12-11 18:57:54
问题 Here is the screen-shot of an email whose attachment I am trying to access. When I try to open the attachment, I am getting the below error What is the reason behind this, and how can this be solved? I am trying to process emails using EWS api and my process is stuck on this email because while processing this email I am getting the below error(when Loading the MimeContent of this particular email). this is the code var message = EmailMessage.Bind(exchangeService, itemid, new PropertySet(