Link to home
Start Free TrialLog in
Avatar of Hubman
HubmanFlag for United States of America

asked on

Exchange new email address

I have an custom application being built that will use a exchange 2010 mailbox/email address. I have the mailbox created.
How do I set this up so that this mailbox can send emails from this app to internal network users, these users are all ready in Exchange.

I gave Send As, and Full access to the user who is building the app and will send the email from the app.

When the app send s the email we get the following error: The request failed. The remote server returned an error: (401) Unauthoized

How to fix this?
SOLUTION
Avatar of Michael Machie
Michael Machie
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To get this to work, you would want to set the application up so it uses the mailbox that will be sending messages to users. Basically, the application needs to call the credentials for the mailbox that you created when it connects to the Exchange server. The app shouldn't call the credentials of the user sending stuff.
Avatar of Hubman

ASKER

The app has the server credentials and we are not using SSL. He says Don't need an SMTP server,
Avatar of Hubman

ASKER

The app is uses the mailbox to send to are users. I gave all the users in this group and the one devoploping the app Send As, and Full access
Exchange usually requires that apps be set up to communicate with the Hub Transport server, connecting with the credentials of the mailbox that is sending the email. You should also make sure you have a Receive connector that includes the IP address of the App server with the appropriate permission groups and authentication settings you need. Try creating a new receive connector that only has the IP address of the App server listed, then add Exchange users permission group and Basic authentication (without TLS) to see if that works.
Avatar of Hubman

ASKER

I currently have a Receive connector, has IP of copiers....can't I just add the IP of the server the app is on?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Hubman

ASKER

I change the password on the mailbox, now we get
This message was created automatically by mail delivery software.

A message that you have sent could not be delivered to one or more recipients.  This is a permanent error.  The following address failed:

  <lea@x.com>: 553 Cannot find OUTBOUND MX Records for domain (x.com)
Is this Receive connector problem>
Avatar of Hubman

ASKER

Add his IP to Receive connector
getting

A message that you have sent could not be delivered to one or more recipients.  This is a permanent error.  The following address failed:

  <lea@x.com>: 553 Cannot find OUTBOUND MX Records for domain (x.com)