Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Exchange new email address

Posted on 2013-06-12
9
Medium Priority
?
356 Views
Last Modified: 2013-06-17
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?
0
Comment
Question by:Hubman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 13

Assisted Solution

by:Michael Machie
Michael Machie earned 600 total points
ID: 39242766
Please clarify:

The mailbox does not send emails, emails are sent through the mailbox via another method - like Outlook. The App needs to be programmed with some sort of email send capability and during that configuration should specify the incoming/outgoing STMP server, credentials to use, and any SSL settings. If your app does not have this info then you will never be able to send emails from it.

Also make sure that the IP address of the machine running the App is included in your Exchange Relay settings to allow emails from that IP (or IP range).
0
 
LVL 43

Expert Comment

by:Adam Brown
ID: 39242803
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.
0
 
LVL 1

Author Comment

by:Hubman
ID: 39242850
The app has the server credentials and we are not using SSL. He says Don't need an SMTP server,
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 1

Author Comment

by:Hubman
ID: 39242873
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
0
 
LVL 43

Expert Comment

by:Adam Brown
ID: 39242895
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.
0
 
LVL 1

Author Comment

by:Hubman
ID: 39242914
I currently have a Receive connector, has IP of copiers....can't I just add the IP of the server the app is on?
0
 
LVL 43

Accepted Solution

by:
Adam Brown earned 1400 total points
ID: 39242939
You could do that if you like. Just make sure it supports the authentication mechanism your application is using.
0
 
LVL 1

Author Comment

by:Hubman
ID: 39242954
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>
0
 
LVL 1

Author Comment

by:Hubman
ID: 39242975
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)
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question