JMail and sending mail out of my server

Posted on 2007-07-23
Last Modified: 2013-11-30
This is part 2 to a question I already asked earlier. I'm including the same initial lead-in first. Then I'll ask  the question:

I'm taking over the running of a web site built in ASP (I come from a world of Apache, Perl, Linux and Qmail)
I have access to the old server (running IIS 5) as well of course to the new server (IIS 6).

The site seems to be working well on the new server (not live yet) but there is an area of the site that sends Mail out from one of the Forms.  When I look at the  .ASP page I see this line:

Set MyMail = Server.CreateObject("JMail.Message")

Now I have come to understand what JMail is thanks to EE. I've installed it.
I've installed it, but it's not working. I think I know why, but I don't know how to fix it.
In the .asp program file, there is a line to send the mail message:


Now, this worked on the old server, because as it happens the old web server was ALSO the mail server (it was running a product called MailEnable) . However, that's not the case now. Now the new Web server (IIS 6) is not the mail server. The mail is being handled by  So my question is how to I get the mail sent?
I see in IIS 6 there is an object called "Default SMTP virtual server". Is this something I need to configure to get JMail to send mail out of my server?
I've been reading various solutions on EE but none seem to address this question directly.  I hear alot about opening the server to be a  'relay' but that doesn't make sense in this case since this not the mail server.

Thanks for your help.

Question by:michaelshavel
    LVL 14

    Accepted Solution

    Put the SMTP Server address of the goDaddy  


    If that doesn't help then you might want to use CDONTS or ASPMAIL....
    LVL 16

    Assisted Solution

    "I hear alot about opening the server to be a  'relay' but that doesn't make sense in this case since this not the mail server. "

    SMTP is a mail server, for the most part.  IIS sends out the mail.   You don;t have to open up for relay, but you would need to configure SMTP to send mail.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
    Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    728 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now