You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version (e.g. 1.0, dev-master): 1.0.0-beta.2
PHP version: 5,5,9
Microsoft Exchange version: 2010
Description of problem:
I'm trying to send an email connecting to an Exchange server but I get a Not Existing Mailbox error.
To connect to the Exchange server I'm using an account that doesn't have a default mailbox associated to it.
On that server a mailbox is configured to be accessible from my account.
E.g.
Exchange account used for authentication (domain/user): test/bob
Mailbox configured on the server: [email protected], bob doesn't have any default mailbox associated to it bob is allowed to access [email protected] mailbox
How can I send emails from [email protected] using my account (bob) without getting a Non Existing Mailbox error?
Example request:
$client = newClient($host, $username, $password, $version);
// Build the request$request = newCreateItemType();
$request->Items = newNonEmptyArrayOfAllItemsType();
// Save the message, but do not send it.$request->MessageDisposition = MessageDispositionType::SAVE_ONLY;
// Create the message.$message = newMessageType();
$message->Subject = $subject;
$message->ToRecipients = newArrayOfRecipientsType();
// Set the sender.$message->From = newSingleRecipientType();
$message->From->Mailbox = newEmailAddressType();
$message->From->Mailbox->Name = "Alice";
$message->From->Mailbox->EmailAddress = "[email protected]";
// Set the recipient.$recipient = newEmailAddressType();
$recipient->Name = 'name';
$recipient->EmailAddress = 'address';
$message->ToRecipients->Mailbox[0] = $recipient;
// Set the message body.$message->Body = newBodyType();
$message->Body->BodyType = BodyTypeType::HTML;
$message->Body->_ = $body;
// Add the message to the request.$request->Items->Message[] = $message;
$response = $client->CreateItem($request);
Example response:
Message failed to create with ErrorNonExistentMailbox
Additional details:
The text was updated successfully, but these errors were encountered:
Version (e.g. 1.0, dev-master): 1.0.0-beta.2
PHP version: 5,5,9
Microsoft Exchange version: 2010
Description of problem:
I'm trying to send an email connecting to an Exchange server but I get a Not Existing Mailbox error.
To connect to the Exchange server I'm using an account that doesn't have a default mailbox associated to it.
On that server a mailbox is configured to be accessible from my account.
E.g.
Exchange account used for authentication (domain/user): test/bob
Mailbox configured on the server: [email protected], bob doesn't have any default mailbox associated to it
bob is allowed to access [email protected] mailbox
How can I send emails from [email protected] using my account (bob) without getting a Non Existing Mailbox error?
Example request:
Example response:
Additional details:
The text was updated successfully, but these errors were encountered: