Link to home
Start Free TrialLog in
Avatar of HemlockPrinters
HemlockPrinters

asked on

asp.net mailserver set up using exchange 365

We had  exchange server 2003, recently we updated MS office to MS Office 365 which there is no static IP for exchange server anymore.

We have an asp.net website which can send out emails using exchange server, the following is part of web.config file in asp.net application.

Now what should I change to make mail server work again?

<configuration>
      <appSettings>
              <add key="MailServer"  value="192.168.1.7"/>
      </appSettings>
</configuration>
Avatar of Randy Downs
Randy Downs
Flag of United States of America image

You could try the server's Internet ip that you use for your email clients. if you don't know the ip just ping it from CMD prompt.
<configuration>
      <appSettings>
              <add key="MailServer"  value="mail_server_name.domain.tld"/>
      </appSettings>
</configuration>
Avatar of HemlockPrinters
HemlockPrinters

ASKER

There is no IP or mail server name of outlook 365 mail server
Do you have the option of setting up an email client like Outlook or confined to use webmail? If the former you will get a outgoing email server that you could use.

Your Internet Service Provider (ISP) probably provides this for you as well.

If you get the outgoing email server from your ISP or Exchange email server you can setup your application.
ASKER CERTIFIED SOLUTION
Avatar of Scott Fell
Scott Fell
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
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.