By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,571 Members | 1,659 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,571 IT Pros & Developers. It's quick & easy.

Has anyone managed to send email using the smtp localhost?

P: n/a
I've got code doing that that should work and I've tested doing that with a
program called smtp diagnostics. In both cases if I use my outside e-mail
provider account with login username and password it works OK. But if I try
to send it via localhost my code excutes OK but the message gets stuck in
the queue folder and just stays there.

I've been trying to figure out why for a week now but I'm no closer to
success than when I started. I tested this at my customer site that has a
diffrent ISP than me, same result.

Has anyone ever had any success sending smtp mail using the localhost
virtual server?
If so, how did you configure the smtp server? I suspect that's where the
problem lies but I'm not sure.

I can't figure out if my e-mails are leaving the building when they are
being sent by localhost.

Any help would be greatly appreciated

Bob
Nov 9 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
I never used localhost for that, but you could try sending an email to
yourself.

T

Robert Dufour wrote:
>I've got code doing that that should work and I've tested doing that with a
program called smtp diagnostics. In both cases if I use my outside e-mail
provider account with login username and password it works OK. But if I try
to send it via localhost my code excutes OK but the message gets stuck in
the queue folder and just stays there.

I've been trying to figure out why for a week now but I'm no closer to
success than when I started. I tested this at my customer site that has a
diffrent ISP than me, same result.

Has anyone ever had any success sending smtp mail using the localhost
virtual server?
If so, how did you configure the smtp server? I suspect that's where the
problem lies but I'm not sure.

I can't figure out if my e-mails are leaving the building when they are
being sent by localhost.

Any help would be greatly appreciated

Bob

Nov 10 '06 #2

P: n/a
On Thu, 9 Nov 2006 16:46:50 -0500, Robert Dufour wrote:

Hello Bob,
>I've got code doing that that should work and I've tested doing that with a
program called smtp diagnostics. In both cases if I use my outside e-mail
provider account with login username and password it works OK. But if I try
to send it via localhost my code excutes OK but the message gets stuck in
the queue folder and just stays there.
I go into the same desaster while sending with localhost, but we also
have a Win2k3 Server via ISP, which is hosting a site and this works.

Most providers do not accept any message if they can't resolve the
sending servers IP, some also request the whole domain and so on.. to
get rid of spam-mails. One of my personal mailaccount is able to
accept even via localhost (showing that all is right) , i think you
can't solve this other than using a smart.host in the config of your
local smtp.

HtH

Norman Goetz
Nov 10 '06 #3

P: n/a
I am wondering what I need to put in the smarthost and if the computer it
points to needs to be configured. My set up is that I have my localhost at
192.168.1.163 on my lan my mail server at my ISP is at mail.mycompany.com.
My domain of my local lan is named mycompany.com and I'm behind a firewal at
192.168.1.1. I saw some docs about smarthost but not really any explanation
on how to use it except to say you put in a DNS name or an ip address. Tried
it, didn't work.

Bob

"Norman Goetz" <sp****************@yahoo.dewrote in message
news:6j********************************@4ax.com...
On Thu, 9 Nov 2006 16:46:50 -0500, Robert Dufour wrote:

Hello Bob,
>>I've got code doing that that should work and I've tested doing that with
a
program called smtp diagnostics. In both cases if I use my outside e-mail
provider account with login username and password it works OK. But if I
try
to send it via localhost my code excutes OK but the message gets stuck in
the queue folder and just stays there.

I go into the same desaster while sending with localhost, but we also
have a Win2k3 Server via ISP, which is hosting a site and this works.

Most providers do not accept any message if they can't resolve the
sending servers IP, some also request the whole domain and so on.. to
get rid of spam-mails. One of my personal mailaccount is able to
accept even via localhost (showing that all is right) , i think you
can't solve this other than using a smart.host in the config of your
local smtp.

HtH

Norman Goetz

Nov 10 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.