Click here to Skip to main content
13,046,562 members (70,136 online)

Web Development

 
AnswerRe: Best Web Technologies Pin
achantayamini17-Dec-12 22:05
memberachantayamini17-Dec-12 22:05 
AnswerRe: Best Web Technologies Pin
jfmorgan33331-Dec-12 10:01
memberjfmorgan33331-Dec-12 10:01 
QuestionJSP and JSTL and so on ... Pin
SheraX11-Dec-12 6:20
memberSheraX11-Dec-12 6:20 
AnswerRe: JSP and JSTL and so on ... Pin
Marcus Kramer11-Dec-12 6:28
memberMarcus Kramer11-Dec-12 6:28 
GeneralRe: JSP and JSTL and so on ... Pin
SheraX11-Dec-12 6:32
memberSheraX11-Dec-12 6:32 
GeneralRe: JSP and JSTL and so on ... Pin
Andrew Stoute11-Dec-12 7:03
memberAndrew Stoute11-Dec-12 7:03 
GeneralRe: JSP and JSTL and so on ... Pin
SheraX11-Dec-12 7:12
memberSheraX11-Dec-12 7:12 
QuestionSMTP Programming Pin
DisIsHoody9-Dec-12 13:49
memberDisIsHoody9-Dec-12 13:49 
Let me start off by saying that I apologize in advanced if this isn't the correct forum for this question, but there didn't seem to be a forum that exactly matched the question/issue I'm having.

I'm a VB.NET developer and I like to expand by knowledge by trying to program things from scratch that are already implemented ih the.NET framework. My current project is programming a SMTP server using just sockets. I've already read the RFC on SMTP and my company has an Exchange Server (2007) that I was going to use for testing.

The web address of the server is exchange.mycompany.com and I used reverse DNS to get the IP adress. The domain name does have a MX record a well. From the command prompt on my computer (which is running Win7 Professional) I tried using telnet to connect on port 25. I tried using the domain name as well as the IP address, but both times it said it couldn't connect to the server on port 25.

I checked the settings ih Outlook and the port is correct. I then tried connecting on port 110, and some other ones that are sometimes used, and it gave the same error message.

Next I connected to the Exchange server through VPN and tried telnet again on port 25 and this time it worked. However in the SMTP banner it said remote.mycompany.com instead of exchange.mycompany.com. So I disconnected from the VPN and tried the telnet again on all the ports I initially tried but used remote.mycompany.com but again got the same error message. I did an IP address lookup and remote.mycompany.com and exchange.mycompany.com point to the same IP address.

I then used mxtools.com and dnsstuff.com (I think that was the adress) and used their SMTP tools to see of they could connect. I entered mycompany.com as the domain name and they looked up the MX record, which returns exchange.mycompany.com as the SMTP server, and both tools were able to connect with no issues identified.

So my questions: 1) If the MX record list exchange.mycompany.com as the SMTP sever, why does the banner return remote.mycompany.com? 2) Why can't I connect the SMTP server through telnet unless I'm connected through VPN, but the two websites I used to test it the connection worked?

Obviously the server works because because the two websites can connect to it, I can when I'm in VPN, and other servers can because I receive email on my corporate account. What could prevent my computer from connecting to the SMTP server through telnet when I'm not on VPN. I should also mention that I even tried turning off all my anti-virus software to make sure that it wasn't blocking it.

Any help would be greatly appreciated since I assuming if I can't telnet in I most likely wouldn't be able to connect through sockets so I can't start working on my project until I solve this.

Thanks,

Dominick
AnswerRe: SMTP Programming Pin
vbmike10-Dec-12 8:49
membervbmike10-Dec-12 8:49 
GeneralRe: SMTP Programming Pin
DisIsHoody10-Dec-12 13:30
memberDisIsHoody10-Dec-12 13:30 
GeneralRe: SMTP Programming Pin
Richard MacCutchan10-Dec-12 21:36
mvpRichard MacCutchan10-Dec-12 21:36 
GeneralRe: SMTP Programming Pin
DisIsHoody11-Dec-12 9:40
memberDisIsHoody11-Dec-12 9:40 
GeneralRe: SMTP Programming Pin
Richard MacCutchan11-Dec-12 10:26
mvpRichard MacCutchan11-Dec-12 10:26 
GeneralRe: SMTP Programming Pin
DisIsHoody11-Dec-12 10:44
memberDisIsHoody11-Dec-12 10:44 
GeneralRe: SMTP Programming Pin
Richard MacCutchan11-Dec-12 10:58
mvpRichard MacCutchan11-Dec-12 10:58 
GeneralRe: SMTP Programming Pin
DisIsHoody11-Dec-12 11:20
memberDisIsHoody11-Dec-12 11:20 
QuestionXSLT Transforms - how to get just some of in a for-each Pin
QuickBooksDev8-Dec-12 2:26
memberQuickBooksDev8-Dec-12 2:26 
AnswerRe: XSLT Transforms - how to get just some of in a for-each Pin
Chris Grove13-Dec-12 19:46
memberChris Grove13-Dec-12 19:46 
GeneralRe: XSLT Transforms - how to get just some of in a for-each Pin
QuickBooksDev17-Dec-12 0:42
memberQuickBooksDev17-Dec-12 0:42 
GeneralRe: XSLT Transforms - how to get just some of in a for-each Pin
Chris Grove17-Dec-12 3:43
memberChris Grove17-Dec-12 3:43 
GeneralRe: XSLT Transforms - how to get just some of in a for-each Pin
QuickBooksDev17-Dec-12 4:55
memberQuickBooksDev17-Dec-12 4:55 
GeneralRe: XSLT Transforms - how to get just some of in a for-each Pin
Chris Grove17-Dec-12 5:43
memberChris Grove17-Dec-12 5:43 
QuestionPop Up JQuery Quick Link Pin
Janiel Major5-Dec-12 22:02
memberJaniel Major5-Dec-12 22:02 
AnswerRe: Pop Up JQuery Quick Link Pin
vbmike7-Dec-12 4:09
membervbmike7-Dec-12 4:09 
AnswerRe: Pop Up JQuery Quick Link Pin
ryanb3112-Dec-12 4:41
memberryanb3112-Dec-12 4:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web01 | 2.8.170713.1 | Last Updated 21 Jul 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid