SMTP gate problem

Posted on 2003-03-20
Medium Priority
Last Modified: 2008-02-01
   i use a routine(C++) to send SMTP mails. When i use it to send mails through the smtp gate (not the POP3 gate) of the ISP that i login the message is send perfectly. When i use a different smtp gate (mail gate from other ISP) most propably if not always it fails. Does the ISP i login blocks this mails to different mail gates? Any idea to overcome this problem?
Question by:ttsenis
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
  • 2

Expert Comment

ID: 8174136
Most ISP's now require you to use the SMTP server of the ISP.  You can obviously still use multiple POP3 servers but at least here in Iowa, 95% of the ISP's require the use of their own SMTP server.  I'm even starting to run across ISP's blocking third party POP3 accounts also.
LVL 19

Expert Comment

ID: 8174323

that is not quite true:

The reason ISP's are blocking mail from the SMTP gate is to prevent relaying (and spamming through their servers). But eventually, mail that is destined for users on that particular mailserver is accepted (of course). So when sending mail you have to use either the SMTP server of the ISP that handles your mail, or the SMTP server of the ISP that holds the user mailbox the mail is destined for. That is by the way exactly how all SMTP mail server work: find out which mail server to send the mail to (through the DNS MX record), and then send it to the SMTP server of that domain.

Expert Comment

ID: 8174490

I just want clarification on something you stated.  Yes, you are correct that you can also use the SMTP server of the ISP that handles your e-mail, along with the SMTP server of the ISP providing your internet connection.  The thing that doesn't make sense to me is your statement that you can use the SMTP server of the ISP holding the mailbox account of the user you are trying to send the e-mail to.  

I just tried that as a test and it didn't work for me.  Here is my setup.  I changed the SMTP server in my Outlook account to both my ISP's SMTP server and the SMTP server of my companies mailhost.  I can send e-mail successfully to my dialup access e-mail account with both settings.  But when I use the SMTP server of the third party e-mail account it doesn't work.  Am I misunderstanding something you said or is there a configuration that would allow me to do this also?
LVL 19

Accepted Solution

deroode earned 375 total points
ID: 8179827

Have you checked the MX record of the 3rd party e-mail account? Most often the SMTP server that is used by all users of an ISP to send mail out isn't the same that is advertised in the MX record to receive mail for the domain.

My dutch provider 12move.nl, helpdesk page, mail settings:
SMTP server: smtp.12move.nl, IP

MX records for 12move.nl:
12move.nl       MX preference = 300, mail exchanger = relay3.tiscali.nl
12move.nl       MX preference = 100, mail exchanger = smtpcp.12move.nl

with different IP addresses. smtp.12move.nl accepts only mail from the 12move.nl IP range, smtpcp and relay3 accept only mail directed to the 12move.nl domain

Hope that helps..

b.t.w. How to see the MX records:

Expert Comment

ID: 9153001
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
Post your closing recommendations!  No comment means you don't care.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

777 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