Setting up a full blown, internet connected, SMTP server is a bigger
topic than can be answered in a forum such as this. It's only
difficult if you care about security and spam. Since you don't
even know where to start, you would probably be much better
off buying such a service from one of the many service providers
on the internet.
Similar question:
can I run from my localhost (SMTP) with a Java web app if I have IIS, including SMTP, installed on Win2K Pro box?
Here's the deal:
running Java app just fine on Win2K with Tomcat
looking to enable SMTP capability, but preferably with local machine.
Can it be done this way? Or does MS really only allow ASP & .Net apps to run locally with SMTP?
I believe it comes with automatically through IIS. At least it has in the past on NT or Win2k.
I haven't had to bounce through some ancillary server in the past.
-
by the grace of God I got this figured out! : )
I had some ASP pages w/ CDO that I submitted...they worked fine, but for some reason the Java mail app still wouldn't.
So I went into IIS and the SMTP virtual server, and into relay and actually specified my PC name, configured with the INTERNAL IP address (behind my LAN) and VOILA! It actually worked!
Although I think I tried two other email addresses of mine and I still don't think they got through, but I might retry just to confirm!
So in short, it did run automatically for ASP but took some tweaking for JavaMail/JSP, but it will work too!
Message was edited by:
bpropes20
thanks bshannon,
I don't care about spam or security.
i don't even want to receive emails.
i just want to send them.
i already have a linux server set up on the internet deploying j2ee applications.
i just want a very basic smtp service so i can send multipart emails and i do not want to
pay a third party for the privilage. any pointers.
You have to care about spam and security. Otherwise your
machine will quickly be compromised and used as a source
of spam sent to all the rest of us.
Again, if you don't want to care about this, pay someone else
to care.
If you have a Linux server, you can certainly configure it to act
as an SMTP server for the internet, but doing so is well beyond
the scope of this forum. There are undoubtedly many books
you can buy on this subject. Since this isn't really a JavaMail
issue, you'll have more luck looking elsewhere for help.
And again, you have to care about spam and security or you
will be part of the problem.