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.
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.
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?
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.
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.
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.
Originally Posted by abachler