Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

A software application that requires smtp info but we use exchange

We have a software that sends emails. The applicaiton is locally on one of our servers, and you have to specify smtp information. How would I do that?

The software app ask for

User name
password
smtp server

Do I just put the ip of the exchange server?
0
cnl83
Asked:
cnl83
  • 18
  • 6
  • 5
  • +1
3 Solutions
 
Pr1zCommented:
Depends on how you have set up your Exchange server ... essentially you need to allow this server to talk to your Exchange servers SMTP queue.  If the mail is destined for your own domain you will not need a username/password.  If you are relaying to other domains you will have to tell Exchange that it is allowed to happened.

Hope this helps

Priz
0
 
cnl83Author Commented:
It will be going to the outside. Right now I have the smtp as:

SERVER.mydomain.LOCAL

How do I get the exchange server to allow this?
0
 
cnl83Author Commented:
Right now they can email out from Outlook.
0
Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
Pr1zCommented:
The SMTP queue on that Exchange server needs to know that it can be used as a mail relay - it is usual to use MAPI rather than SMTP for Outlook clients.  Not knowing what your Exchange environment looks like (configuration, number of servers, version, ...) makes things difficult but try this document to get you started ==> http://technet.microsoft.com/en-us/library/dd277329.aspx

The article is for Exchange 2000 but it is basically the same for 2003

Hope this helps

Priz
0
 
ctc1900Commented:
What version of Exchange?  Is the application asking you to enter an SMTP address?
0
 
cnl83Author Commented:
Yes it is asking me to enter an smtp address.

Version  6.5.7638.1

There is one exchange server.
0
 
ctc1900Commented:
First of all, try adding the server's DNS record (though I'd recommend you abstract the Exchange server SMTP connection with an IP but it requires a few extra steps), and try sending e-mail.  If that does not work, mos likely you'd need to add the application server IP to the Exchange server SMTP Virtual Server relay list.
0
 
cnl83Author Commented:
I added the servers ip address to the relay, and it still did not work.
0
 
Pr1zCommented:
Did you stop and re-start the SMTP service??

Priz
0
 
cnl83Author Commented:
Yup

I looked at the outlook clients for the server name, and thats what I put as smtp server.

SERVER.myserver.LOCAL
0
 
cnl83Author Commented:
I also tried the ip address of the exchange server as the smtp
0
 
ctc1900Commented:
Try the following from the application server as a test

Run from a command prompt:  

telnet SMTPServer 25
helo domain.com
mail from:email@domain.com
rcpt to:youremailaddress@domain.com
data
.


Make sure to not use backspace at any point as it screws the SMTP session, everything must me typed in without errors and user proper email addresses

Let us know what you get


0
 
cnl83Author Commented:
Says telnet is not recognized as an internet command
0
 
cnl83Author Commented:
software server is server 2008
0
 
Pr1zCommented:
Here is an all encompassing "How to troubleshoot relay issues" document from Microsoft ==> http://support.microsoft.com/kb/895853

Exchange 6.5 was Exchange 2003 ... looks like you are missing some patches ==> http://support.microsoft.com/kb/158530

Priz
0
 
ctc1900Commented:


I guess this app is running on Windows 7/Server 2008?  Install telnet and try, control panel, programs and features, turn windows features on and off, select Telnet Client and click OK
0
 
cnl83Author Commented:
I got telnet installed...

When I type telnet SMTPServer 25
It just says could not open connection to server. should I replace smtpserver with my actual server address?
0
 
cnl83Author Commented:
telnet server.mydomain.local 25
helo mydomain.com
mail from:me@mydomain.com
rcpt to:chad@actionfx.net
data


It doesnt do anything..
Just returns to the prompt
0
 
Pr1zCommented:
If you go to the Exchange server and start a command prompt, if you enter the command "hostname" it will tell you what the Exchange server believes its name to be.  It is this that you need to enter in the applications dialogue box.

Priz
0
 
ctc1900Commented:
You need to enter a . (period) on its own line and another enter "354 Start mail input; end with <CRLF>.<CRLF>"
0
 
cnl83Author Commented:
Forgive me for being so naive, but I dont know what you are talking about.
0
 
ctc1900Commented:
No worries, this might help   http://exchange.mvps.org/smtp_frames.htm  (you could probably skip step 2)

0
 
U7_Web_TechCommented:
no I would setup a email user and use that information user@yourdomain.com user would be user password would be there password and smtp would be your smtp server public domain name
0
 
cnl83Author Commented:
prz1 I looked up hostname.

The application has its own email log, it shows it connecting to all of the entries I have used as smtp, but it just hangs.

(int) connected to : SERVER.AHS.LOCAL with port :    25
(int) connected to : 192.168.1.10 with port :    25
(int) connected to : server with port :    25
0
 
cnl83Author Commented:
u7 so you recommend entering the public domain name with no prefix? no www.  or mail.
0
 
cnl83Author Commented:
When I issue the command
helo <your domain name><enter>  

I get
C:\Users\Administrator>helo ahs.local
'helo' is not recognized as an internal or external command,
operable program or batch file.

0
 
cnl83Author Commented:
HELP!
0
 
cnl83Author Commented:
I cannot telnet into the exchange server at all. There are no firewallas or AV programs on either server.
0
 
cnl83Author Commented:
I can telnet with the ip address ...
0
 
U7_Web_TechCommented:
is your exchange server setup to send and receive email with the outside world  and working
0
 
U7_Web_TechCommented:
if can you telnet to it by the server name if you can try in your software the username password and for your smtp server the name of your server or ip address should work
0
 
cnl83Author Commented:
O yes, the exchange server is workingn 100%

I used the ip address as the smtp and it worked.
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 18
  • 6
  • 5
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now