exchange-server-2007

How do I use CDO with Exchange with vbscript

浪尽此生 提交于 2019-11-30 00:09:24
问题 I am trying to setup a script to email using an exchange account. I want to use CDO (or equivalent) with vbscript. The goal is to track email communications through the sent folder of the exchange account. I am using exchange 2007. 回答1: Use Microsoft NTLM (http://msdn.microsoft.com/en-us/library/aa378749(v=vs.85).aspx) In CDO it's a CdoProtocolsAuthentication Enum (http://msdn.microsoft.com/en-us/library/ms526961(v=exchg.10).aspx) Const cdoSendUsingPickup = 1 'Send message using the local

Configure mail server to work with PHP

扶醉桌前 提交于 2019-11-29 18:09:47
My current project is a form that receives input from a user. After I receive that data, I must send a warning/report to a few email addresses, including the user who inserted the data. Almost everything is up and running, Apache, MySQL, PHP. Now I never installed a mail server, to work with PHP so I'm kinda lost. My employer has MS Exchange 2007 on his server installed. Should I use it, and how would I start to configure php to work with it? What do I need from the Exchange 2007 (parameters)? If not, would you recommend installing a new mail server for just this purpose on the same machine

JavaMail search by ReceivedDate, doesn't work down to the second?

≯℡__Kan透↙ 提交于 2019-11-29 14:01:23
问题 In IMAP, message numbering is based on when a message is placed into a folder (i.e. first message in the folder is 1, second message in is 2, etc.). However, this ordering has no regard for a message's received date. What I'm concerned about are messages older than message number 1 of the folder, i.e. a message that's been moved into a folder by a user manually (and not by when it was received into the system). I cannot just get every message's receivedDate, as this is horrendoulsy inefficent

Implementing Outlook 2010's group by conversation using EWS and Exchange 2007

拜拜、爱过 提交于 2019-11-29 04:50:55
We're using EWS to generate some analytics on some of our mailboxes. Part of this is getting a count/name/start/end of conversations. A conversation being analogous to the way Outlook 2010 shows them when grouping by conversation. I was hoping to be able to use the ConversationId to group items, but that seems to be an Exchange 2010-only feature. I can group by subject within a folder to get a simple idea of threads... however this does not handle split conversations, as Outlook 2010 does - specifically, it doesn't handle bringing in the replies that are in the sent items (these are important

c# programmatically reading emails from the Exchange server

冷暖自知 提交于 2019-11-28 21:39:16
问题 When you search on web you will find very easy answers for "How to read emails programmatically"... Al the websites are explaining most of the same like this page. http://omegacoder.com/?p=454 // depends from Exchange server version service.Credentials = new NetworkCredential("MDR", "password", "zzz"); service.AutodiscoverUrl("mdr@zzz.be"); object o = service.FindItems(WellKnownFolderName.Inbox, new ItemView(10)); FindItemsResults<Item> findResults = service.FindItems(WellKnownFolderName

Configure mail server to work with PHP

故事扮演 提交于 2019-11-28 12:34:53
问题 My current project is a form that receives input from a user. After I receive that data, I must send a warning/report to a few email addresses, including the user who inserted the data. Almost everything is up and running, Apache, MySQL, PHP. Now I never installed a mail server, to work with PHP so I'm kinda lost. My employer has MS Exchange 2007 on his server installed. Should I use it, and how would I start to configure php to work with it? What do I need from the Exchange 2007 (parameters)

Exchange Web Services (EWS) API “To” header for alias

你。 提交于 2019-11-28 11:22:34
I have an inbox set up in exchange, hello@mycompany.com Additionally, there is an alias for this, news@mycompany.com , so all emails to the news address end up in the hello inbox. Ideally, I want to be able to tell which alias an email has been sent to, using EWS. When I send an email to news@mycompany.com , and examine the Internet headers of the message using Microsoft Outlook, the To: header reads To: Hello <news@mycompany.com> which is exactly what I want to see. However, using EWS, when I look at the ToRecipients property of the message, the reported email address is always that of the

Exchange Web Service API and 401 unauthorized exception

断了今生、忘了曾经 提交于 2019-11-27 08:50:51
When I try sending email using the EWS API, I get the following error: (in message.Send(); ) The request failed. The remote server returned an error: (401) Unauthorized. My code is the following: ExchangeService exchangeService = new ExchangeService(ExchangeVersion.Exchange2007_SP1); //WebService Uri try { exchangeService.Url = new Uri("https://exchangeserver/ews/exchange.asmx"); } catch (Exception ex) { throw new Exception(string.Format("WebService Uri:" + ex)); } //Credentials try { exchangeService.Credentials = new WebCredentials("user@domain", "pwd", "domain"); } catch (Exception ex) {

Exchange Web Services (EWS) API “To” header for alias

隐身守侯 提交于 2019-11-27 06:06:31
问题 I have an inbox set up in exchange, hello@mycompany.com Additionally, there is an alias for this, news@mycompany.com , so all emails to the news address end up in the hello inbox. Ideally, I want to be able to tell which alias an email has been sent to, using EWS. When I send an email to news@mycompany.com , and examine the Internet headers of the message using Microsoft Outlook, the To: header reads To: Hello <news@mycompany.com> which is exactly what I want to see. However, using EWS, when

Exchange Web Service API and 401 unauthorized exception

◇◆丶佛笑我妖孽 提交于 2019-11-27 04:01:45
问题 When I try sending email using the EWS API, I get the following error: (in message.Send(); ) The request failed. The remote server returned an error: (401) Unauthorized. My code is the following: ExchangeService exchangeService = new ExchangeService(ExchangeVersion.Exchange2007_SP1); //WebService Uri try { exchangeService.Url = new Uri("https://exchangeserver/ews/exchange.asmx"); } catch (Exception ex) { throw new Exception(string.Format("WebService Uri:" + ex)); } //Credentials try {