exchange-server

Get Smtp email from ContactInfo stored in Exchange

隐身守侯 提交于 2019-12-01 08:54:32
问题 I am using VSTO for my Outlook add-in. Currently I am processing email addresses from all Outlook contacts. There is no problem for instances of ContactInfo if EmailAddress1Type is "SMTP". But how to get email address for Exchange contact (Email1AddressType = "EX")? Redemption library is not solution for me as it is expensive just to solve this one problem. Thank you in advance, Dusan 回答1: Here is the MSDN reference link and corresponding sample code: private const string

PHP mail function works sometimes

可紊 提交于 2019-12-01 08:35:26
问题 I am writing a script that needs to send an e-mail through the PHP mail function. As it is written below, it works when sending an e-mail to a gmail account, but not an account on my domain. We are running an Exchange server. As of now, the e-mails are sent from _www@server. Does anyone know of an issue with php mail and Exchange (or maybe even e-mail addresses beginning with an underscore and Exchange??)? Or perhaps there is another issue here? The mail function will return true no matter

Unrecognized authentication type when doing an Auth to Exchange from Rails

妖精的绣舞 提交于 2019-12-01 07:51:53
问题 I'm getting this error when trying to authenticate with Exchange Server from Ruby on Rails: 504 5.7.4 Unrecognized authentication type config.action_mailer.raise_delivery_errors = true config.action_mailer.perform_deliveries = true config.action_mailer.delivery_method = :smtp config.action_mailer.smtp_settings = { :address => "x.x.x.x", :port => 25, :user_name => "xxdomain\xxuser", :password => "xxxxxx", :authentication => :login, :enable_starttls_auto => true } I've tried all sorts of

Grails mail plugin configuration for MS Exchange server

巧了我就是萌 提交于 2019-12-01 07:03:40
I am able to send email using my gmail account from my grails application but when I use MS exchange server account I am getting this error Message: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.exg6.exghost.com/, 25; timeout -1; Configuration I used is : mail { host = "smtp.exg6.exghost.com" port = 25 username = "xxxx" password = "xxxx" props = ["mail.smtp.auth":"true", "mail.smtp.socketFactory.port":"25", "mail.smtp.socketFactory.class":"javax.net.ssl.SSLSocketFactory", "mail.smtp.socketFactory.fallback":"false

Exchange 2010 Web Services - creation of an all day event appointment

两盒软妹~` 提交于 2019-12-01 05:54:48
问题 I got in trouble with creation of an all day event appointment using Exchange 2010 Web Services (EWS) . According to existing requirements to create an All day event appointment object needs to have specified start and end time (i.e. 10/20/2011 12:00:00 AM), and also timezone. But my application converted to use EWS instead of WebDAV sets start and end time converted to GMT (Greenwich) time which then sent to Exchange server. Such technique worked perfectly with WebDAV. But with EWS I get

Grails mail plugin configuration for MS Exchange server

穿精又带淫゛_ 提交于 2019-12-01 05:53:31
问题 I am able to send email using my gmail account from my grails application but when I use MS exchange server account I am getting this error Message: Mail server connection failed; nested exception is com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.exg6.exghost.com/, 25; timeout -1; Configuration I used is : mail { host = "smtp.exg6.exghost.com" port = 25 username = "xxxx" password = "xxxx" props = ["mail.smtp.auth":"true", "mail.smtp.socketFactory.port":"25",

Exchange Webservice Managed API - Find items by extended properties

不打扰是莪最后的温柔 提交于 2019-12-01 05:29:06
I have tried to use extended properties on appointments with EWS, but I can not seem to find the appointments again. The set property part is equal to the one shown in this question: How to Update an Appointment from Exchange Web Service Managed API 2.0 in ASP.NET When I try to retrieve the appointment, I have followed these examples: http://msdn.microsoft.com/en-us/uc14trainingcourse_5l_topic3#_Toc254008129 http://msdn.microsoft.com/en-us/library/exchange/dd633697(v=exchg.80).aspx But I never get any appointments returned when I make a lookup. Here is the code for the lookup: ItemView view =

How do I programatically create an exchange 2010 mailbox using C#

耗尽温柔 提交于 2019-12-01 05:26:17
问题 I have been given a task to write a program to automatically create a 2010 exchange mailbox. My research tells me to use powershell but I can't seem to find the namespace to reference and would like some sample code. I found some code on the web but I don't know what the namespace is for PowerShell. I think it might be System.Management.Automation but when I try to reference the namespace it does not exist in the list of dotnet. All I have is System.Management and System.Management

Should I use GUID or DefaultExtendedPropertySet.PublicStrings while constructing ExtendedPropertyDefinition?

十年热恋 提交于 2019-12-01 04:23:50
I am developing C# .NET Framework 4.5 Windows Form application using EWS Managed API 1.2 with Exchange Server 2007 which performs some sort of syncing of mails. Now that I am dealing with Extended Properties, I want to be clear some things: Q1. What is the purpose of DefaultExtendedPropertySet class? MSDN says "Defines the default sets of extended properties." Is it just to group the extended properties? If yes, why is the grouping there at first place? Do we have any Ews API method which can fetch values of all extended properties belonging to the same group on an item? Q2. I am unable to

Connect to Microsoft Exchange PowerShell within C#

ぐ巨炮叔叔 提交于 2019-12-01 03:35:28
I'm trying to connect to remote powershell from C# .NET WinForms app. My goal is to create my own version of Microsoft PowerShell ISE. So i need a way to execute PowerShell Scripts from my app on Remote Machines. I've created couple of methods and tested it on local machine from my app. If I don't use WSManConnectionInfo and use using (Runspace remoteRunspace = RunspaceFactory.CreateRunspace()) i can execute scripts locally as if it was true powershell (little scripts, usage of variables, output data using ft , fl , do a lot of other things I usually do with powershell. Problem starts when I