Advertisement

sending mail

Started by November 14, 2003 09:46 AM
1 comment, last by Freaker13 21 years, 2 months ago
Hi all, i want to sent an e-mail to an hotmail adres.But my conection always failed. Have i to connect to hotmail.com or to something else? thx in advance
To prevent spam mail, mail sent by software who fake the From: address, almost all mail servers refuse mail sent from an IP number that is not in their local network, unless the sender is a trusted mail server (listed as smtp server for that domain).

What you should do is connect to your provider''s mail server. This is the one set as the SMTP server in your outlook.

So if you use provider.com, you send mail to smtp.provider.com, this mailserver sends it to smtp.hotmail.com and this server delivers it into a mailbox.
Advertisement
quote:
Original post by Fidelio66
To prevent spam mail, mail sent by software who fake the From: address, almost all mail servers refuse mail sent from an IP number that is not in their local network, unless the sender is a trusted mail server (listed as smtp server for that domain).

What you should do is connect to your provider's mail server. This is the one set as the SMTP server in your outlook.

So if you use provider.com, you send mail to smtp.provider.com, this mailserver sends it to smtp.hotmail.com and this server delivers it into a mailbox.


Wrong. If mail servers refuse mail sent from an IP number that is not in their local network, no mail would ever come in from outside the network! As long as the recipient of the message is in the domain that the SMTP server is accepting for, it should be fine.

As proof, I created a hotmail address. Then on my laptop, went to a command prompt and:
C:\>telnet mx1.hotmail.com 25220 mc1-f30.hotmail.com Microsoft ESMTP MAIL Service, Version: 5.0.2195.6713 ready at  Fri, 14 Nov 2003 18:01:43 -0800EHLO chrisxp250-mc6-f27.hotmail.com (02.03.00.0022) Hello [xx.xxx.xxx.xxx]250-SIZE 35840000250-PIPELINING250-8bitmime250-BINARYMIME250-CHUNKING250-VRFY250-AUTH LOGIN250-AUTH=LOGIN250-X-HMAUTH250 OKMAIL FROM:<someuser@somedomain.com>250 someuser@somedomain.com....Sender OKRCPT TO:<myemailaddress@hotmail.com>250 myemailaddress@hotmail.comDATA354 Start mail input; end with <CRLF>.<CRLF>Test message..250 <MC1-F30BvYF4sowZFie0004c73d@mc1-f30.hotmail.com> Queued mail for deliveryQUIT221 mc1-f30.hotmail.com Service closing transmission channelConnection to host lost.

In my hotmail account inbox, there was a message from "someuser@somedomain.com".

One problem that the OP might be having is that the host hotmail.com does not accept e-mail. If you do an MX record lookup you'll see that hotmail.com's mail servers are:
mx1.hotmail.com internet address = 65.54.252.99
mx1.hotmail.com internet address = 65.54.166.99
mx1.hotmail.com internet address = 64.4.50.99
mx1.hotmail.com internet address = 65.54.254.129
mx2.hotmail.com internet address = 65.54.166.230
mx2.hotmail.com internet address = 65.54.254.145
mx2.hotmail.com internet address = 65.54.252.230
mx3.hotmail.com internet address = 65.54.167.5
mx3.hotmail.com internet address = 64.4.50.239
mx3.hotmail.com internet address = 65.54.254.140
mx3.hotmail.com internet address = 65.54.253.99
mx4.hotmail.com internet address = 65.54.167.230
mx4.hotmail.com internet address = 65.54.254.151
mx4.hotmail.com internet address = 65.54.253.230
ns1.hotmail.com internet address = 216.200.206.140
ns3.hotmail.com internet address = 209.185.130.68
ns2.hotmail.com internet address = 216.200.206.139
ns4.hotmail.com internet address = 64.4.29.24

You should be able to establish a connection to those addresses on TCP port 25, and send all the mail you want to a hotmail.com address.

Halo7

[edited by - halo7 on November 14, 2003 9:31:41 PM]

This topic is closed to new replies.

Advertisement