exchange-server

Match EWS Conversation* to Outlook Add-in Conversation*

半腔热情 提交于 2019-12-07 10:33:19
问题 I wrote an add-in for Outlook years ago that adds entries to a database based on the Item's ConversationIndex / ConversationId properties. This works great and remains uniform across all clients interacting with the messages (e.g. "Bob" can see that "Mary" already processed this message because an entry with the ConversationIndex already exists). I'm now trying to move this piece to a service (and connect via the EWS API) but I'm not having good luck matching these properties with the values

What is the simplest way to run a script when an email is received?

ぐ巨炮叔叔 提交于 2019-12-07 08:08:56
问题 I'd like to run a script, typically in PHP or MySQL since it involves changing a Mysql db table when an email arrives at my exchange server (2010). The server holds IIS7. So in short: Email->Exchange server->changes a table in MySQL DB Notes: Not looking for a script that connects to the e-mail via POP/imap I'm looking for a kind of trigger that occurs in the server Webservices or Transport Agent seem complicated If you can supply an easy example I'll accept it. If you have a Sink example

Use Javamail for accessing Microsoft Exchange mailboxes (IMAP, MS Exchange)

ぐ巨炮叔叔 提交于 2019-12-07 07:56:52
问题 I need to connect to a Microsoft Exchange Server through IMAPS JavaMail. First, I got the: A1 NO AUTHENTICATE failed. javax.mail.AuthenticationFailedException: AUTHENTICATE failed. exception in my debugger. Then, I disabled some authentication protocols: imapProps.setProperty("mail.imaps.auth.plain.disable", "true"); imapProps.setProperty("mail.imaps.auth.ntlm.disable", "true"); imapProps.setProperty("mail.imaps.auth.gssapi.disable", "true"); This is the new exception I'm getting (I've

phpmailer exchange server authentication

允我心安 提交于 2019-12-07 07:02:58
问题 My mail send code: $mail = new PHPMailer(true); $mail->IsSMTP(); try { $mail->Host = 192.168.205.19; $mail->Port = 25; $mail->SMTPDebug = 2; $mail->SMTPSecure = "tls"; $mail->SMTPAuth = true; $mail->Username = "mymailadress@mysite.com"; $mail->Password = "mypassword"; $mail->From = "mymailaddress@mysite.com"; $mail->FromName = "My Mail Address"; $mail->SetFrom("mymailaddress@mysite.cm", "My Mail Address"); $mail->AddAddress('toaddress@mysite.com'); $mail->Subject = "Test for subject"; $mail-

Ways to send E-Mails over MS Exchange with VBScript

会有一股神秘感。 提交于 2019-12-07 05:37:24
I have to write a VBScript which will run on a Windows Server 03 (no Office, SMTP, etc. installed - like it's a fresh installation). This script should send E-Mails over an MS Exchange Server (on another server). So now I have a meeting with the head of the team managing those Servers. To prepare I'd like to know what ways I have to send an E-Mail from a VBScript over an MS Exchange (also including how to authenticate with the Exchange Server)? As far as my googling goes there is one way with CDO (only SMTP?) which can use the current user for authentication or a clear text username & password

EWS API - Create calendar and share with reviewer permissions

守給你的承諾、 提交于 2019-12-07 05:31:38
问题 I'm having some trouble on creating and share a calendar with review permissions using Exchange Webservice API .NET . At the moment this is my code: Folder addCalendar = new Folder(service); addCalendar.DisplayName = name; addCalendar.FolderClass = "IPF.Appointment"; var perm = new FolderPermission(new UserId("reviewer@test.com"), FolderPermissionLevel.Reviewer); addCalendar.Permissions.Add(perm); addCalendar.Save(WellKnownFolderName.MsgFolderRoot); The calendar is created, in my account I

Is the UID provided by MS Exchange POP3 UIDL command truly unique?

ⅰ亾dé卋堺 提交于 2019-12-07 04:09:48
问题 I'm using Net::POP3 in Perl to iterate through a mailbox on an MS Exchange server. I run the UIDL command on each message number and compare the ID returned to previously-seen IDs to see if I've dealt with this message in the past. However, I'm also finding that within an individual POP3 mailbox, the same UID seems to come up multiple times for different messages. Any idea why this might be happening? Is the UID not truly unique? Or are the messages somehow being duplicated within the same

Message submission rate for this client has exceeded the configured limit?

点点圈 提交于 2019-12-07 03:29:01
问题 I have a for loop which calls some code sending emails. I get the following run-time error: Service not available, closing transmission channel. The server response was: 4.4.2 Message submission rate for this client has exceeded the configured limit After googling around it appears to be related to the "set-receiveconnector", possible for exchange server? Could anyone advise how I can fix this? the code: var mail = new MailMessage(); var smtpServer = new SmtpClient(SMTPServer); mail.From =

Dead letter exchange RabbitMQ dropping messages

可紊 提交于 2019-12-07 01:26:38
问题 I'm trying to implement a dlx queue in RabbitMQ. The scenario is quite easy I have 2 queues: 1) alive 2) dead (x-dead-letter-exchange: "immediate", x-message-ttl: 5000) and an exchange "immediate" that is bound to 1) alive I tried to run this example: http://blog.james-carr.org/2012/03/30/rabbitmq-sending-a-message-to-be-consumed-later/ but it seems that the messages are dropped after the ttl expires and they dont get published on the exchange, so my alive queue is always empty. I also tried

com.sun.mail.smtp.SMTPSenderFailedException: 550 5.7.1 Client does not have permissions to send as this sender

本小妞迷上赌 提交于 2019-12-07 01:21:24
问题 i am trying to send email from an application email (exchange server) and appear for the user as it was sent from another email using javamail , i am using the following code: public void sendEmail(String from, String to, String subject, String emailBody) throws Exception { try { emailHostSMTPs = MessageProvider.getConfig("email.host.smtps"); emailHostSMTP = MessageProvider.getConfig("email.host.smtp"); emailProtocol = MessageProvider.getConfig("email.protocol"); senderEmail = MessageProvider