SMTP host???

This is a discussion on SMTP host??? within the Tech Board forums, part of the Community Boards category; I'm not sure what to use as my SMTP host. Should it change depending on the recepient's host? If so, ...

  1. #1
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,665

    SMTP host???

    I'm not sure what to use as my SMTP host. Should it change depending on the recepient's host? If so, how do I find out what it is? If not, then do you know of any free SMTP hosts? I already tried smtp.gmail.com and smtp.mail.yahoo.com, but they deny me access.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,668
    Free (and especially open) ones are loved by spammers. If they don't get closed, they soon get black-listed.

    Are you trying to write some s/w to determine the mail server on the machine your s/w is running on?

    mail.myisp.com is a fairly usual address.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    You find the recipient host by taking the host part of the recipient e-mail and doing an MX DNS lookup on it. If it doesn't return anything, you use the host part as-is. But that doesn't solve the problem you have, I think.

    What exactly do you want to do?
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #4
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    1,665
    I'm making a program that sends mail, only I need a "host" to do it. I'm not sure if this host is on my end or on the recipient's end.
    I did a MX DNS lookup, and they still deny me access.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  5. #5
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    You need a host at your end. Which can actually be your own IP. But if I remember correctly, you're on dial-up, so that won't work.

    What did you put into your mail program settings? Use that, as well as the same account data.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  6. #6
    Malum in se abachler's Avatar
    Join Date
    Apr 2007
    Posts
    3,189
    try installing mdaemon and then use 127.0.0.1 as the host, it should work.
    Until you can build a working general purpose reprogrammable computer out of basic components from radio shack, you are not fit to call yourself a programmer in my presence. This is cwhizard, signing off.

  7. #7
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Quote Originally Posted by abachler View Post
    try installing mdaemon and then use 127.0.0.1 as the host, it should work.
    In theory. In practice, you have to be careful running your own mailserver, because most large mail services (e.g. GMX) block mail from dynamic address ranges. I regularly have trouble with that, because even though my IP is technically static, it's allocated in a dynamic range. GMX, Yahoo, Hotmail and Gmail all refuse mails from the server.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Check if a host is alive
    By pobri19 in forum Networking/Device Communication
    Replies: 9
    Last Post: 05-05-2009, 11:10 AM
  2. FTP program
    By jakemott in forum Linux Programming
    Replies: 14
    Last Post: 10-06-2008, 01:58 PM
  3. SMTP with Apache/PHP on Windows
    By Mario F. in forum Tech Board
    Replies: 4
    Last Post: 02-29-2008, 08:24 AM
  4. Generic Host Proccess Shutdown
    By Tommaso in forum Tech Board
    Replies: 8
    Last Post: 08-14-2003, 11:18 AM
  5. SMTP Server Not Working
    By (TNT) in forum Networking/Device Communication
    Replies: 1
    Last Post: 07-15-2003, 05:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21