Обменник exchange админка php

Форма обратной связи на php с подключением к exchange

Я на портале делаю форму обратной связи, чтобы пользователь заполнял все поля, нажал на кнопку отправить и админу на почту пришло письмо с содержимым, которое написал пользователь.

Почтовый сервер мне не подходит, мне нужно реализовать это через подключение к Exchange. Напишите пожалуйста код php и форму отправки. У меня не получается, весь интернет облазил но ничего не нашёл и не понял (опыта мало).

Помощь в написании контрольных, курсовых и дипломных работ здесь.

Обменник exchange админка php. Смотреть фото Обменник exchange админка php. Смотреть картинку Обменник exchange админка php. Картинка про Обменник exchange админка php. Фото Обменник exchange админка phpФорма обратной связи на php
Здравствуйте, прошу помочь с созданием формы обратной связи. Есть код: 5

Я это делаю не для материальной выгоды, а для обучения. К сожалению мне за это ни кто ничего не платит. (Форму я сам могу сделать, это не сложно)

Прошу помощи в том, чтобы разобраться.

Вот такой код нашёл:

На гитхабе же есть готовый пример отсылки письма через EWS.

Помощь в написании контрольных, курсовых и дипломных работ здесь.

Форма обратной связи на PHP с вложением
Здравствуйте. Имеется форма обратной связи. Помогите сделать так чтобы можно было к форме.

Обменник exchange админка php. Смотреть фото Обменник exchange админка php. Смотреть картинку Обменник exchange админка php. Картинка про Обменник exchange админка php. Фото Обменник exchange админка phpФорма обратной связи с валидацией PHP
Доброго времени суток всем форумчанам! У меня возник вопрос, на который никак не могу найти ответ.

Форма обратной связи с вложением на PHP
Здравствуйте! Подскажите, пожалуйста: на сайте создали форму обратной связи на PHP с.

Источник

Best way to access Exchange using PHP?

I’m writing a CMS application in PHP and one of the requirements is that it must be able to interface with the customer’s Exchange server. I’ve written up this functionality a few times before and have always used WebDAV to do it, but now I’m leaning away from that.

I will be running the site on IIS OR Apache (no preference) on Windows server 2008. A few things I would need to do include adding contacts to a given user’s address book, sending emails as a given user and running reports on contacts for a user.

All of this is pretty easy to do with WebDAV, but if there is a better way that doesn’t require any functionality that is likely to be deprecated any time soon.

Update:

Justin, I love the idea of using com objects, I just worry about maintaining a 3rd product to make everything work.

John, I can write a web service in C# to interface with for these functions and access it with my PHP app, but it’s also a little bit out of the way.

So far, I’m not 100% convinced that either of these is better than WebDAV.

Can anyone show me where I’m being silly?

9 Answers 9

Update as of 2020:
Over a decade since this question and things have moved on. Microsft now has a Rest API that will allow you to easily access this data.

Original Answer

I have not used PHP to do this but have experience in using C# to achieve the same thing.

The Outlook API is a way of automating Outlook rather than connecting to Exchange directly. I have previously taken this approach in a C# application and it does work although can be buggy.

If you wish to connect directly to the Exchange server you will need to research extended MAPI.

In the past I used this wrapper MAPIEx: Extended MAPI Wrapper.

Sorry for the delay no current way to keep track of posts yet.

I do agree adding more layer on to your application and relying on 3rd party code can be scary (and rightfully so.)

Today I read another interesting post tagged up as MAPI that is on a different subject. The key thing here though is that it has linked to this important MS article. I have been unaware of the issues until now on using managed code to interface to MAPI although the C++ code in the component should be unaffected by this error as it is unmanaged.

Источник

Обменник exchange админка php

PHP Exchange Web Services

The PHP Exchange Web Services library (php-ews) is intended to make communication with Microsoft Exchange servers using Exchange Web Services easier. It handles the NTLM authentication required to use the SOAP services and provides an object-oriented interface to the complex types required to form a request.

Обменник exchange админка php. Смотреть фото Обменник exchange админка php. Смотреть картинку Обменник exchange админка php. Картинка про Обменник exchange админка php. Фото Обменник exchange админка php Обменник exchange админка php. Смотреть фото Обменник exchange админка php. Смотреть картинку Обменник exchange админка php. Картинка про Обменник exchange админка php. Фото Обменник exchange админка php

Note: Not all operations or request elements are supported on all versions of Exchange.

The prefered installation method is via Composer, which will automatically handle autoloading of classes.

The library can be used to make several different request types. In order to make a request, you need to instantiate a new \jamesiarmes\PhpEws\Client object:

The Client class takes four parameters for its constructor:

Once you have your \jamesiarmes\PhpEws\Client object, you need to build your request object. The type of object depends on the operation you are calling. If you are using an IDE with code completion it should be able to help you determine the correct classes to use using the provided docblocks.

The request objects are build similar to the XML body of the request. See the resources section below for more information on building the requests.

There are a number of examples included in the examples directory. These examples are meant to be run from the command line. In each, you will need to set the connection information variables to match those of your Exchange server. For some of them, you will also need to set ids or additional data that will be used in the request.

All questions should use the issue queue. This allows the community to contribute to and benefit from questions or issues you may have. Any support requests received via email will be directed here.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *