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

x
?
Solved

send mail using exchange server in asp.net

Posted on 2009-05-04
3
Medium Priority
?
1,176 Views
Last Modified: 2013-12-17
hi ,
      I host an .net application in IIS 6.0 and i have no virtual smtp server in my IIS. i have an Email Exchange server on different location.

how can i give my email exchange server setting on my asp.net application for sending Emails?

when i give my exchange server SMTP setting on my application following issue comes:

1. Email send to only same domain e.g. assd@xyz.com to dsas@xyz.com
2. when try to send email to another domain Error  comes ?

i need urgent basis solution , plz help me



0
Comment
Question by:itbUD
[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
  • 2
3 Comments
 

Assisted Solution

by:unlocktechnology
unlocktechnology earned 450 total points
ID: 24293666
you need to allow relaying on your exchange server.

Why don;t you just install the SMTP service on your web server?
0
 
LVL 58

Accepted Solution

by:
tigermatt earned 1050 total points
ID: 24293703

The problem you are seeing is an Exchange issue, not a problem with your ASP.NET code. By design your Exchange Server will only accept email if it is sent to a domain it hosts; it will not send to external domains.

To allow the Web Server to relay through the Exchange server (assuming Exchange 2003) open Exchange System Manager and drill down to the 'Protocols' container beneath your Exchange Server. Expand SMTP and then view the properties of your SMTP Virtual Server. From here, you can go to the 'Access' tab, press 'Relay' and add the IP of the web server to allow it to relay.

-Matt
0
 
LVL 58

Expert Comment

by:tigermatt
ID: 24294028

Hey,

Any reason for the 'B' grade? Only that would indicate my solution didn't directly solve the problem for you.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
We aren’t perfect, just like everyone else.  Check out the email errors our community caught and learn the top errors every email marketer should avoid.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

610 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