Hello Maddog,
Thank you for your response. Tried that, it didn't work.
It falls over on the line that sends the e-mail so it doesn't actually send it.
Thank you,
Ell.
Main Topics
Browse All TopicsHello,
I set up the following script on my dedicated server running Windows 2003 Server. It's using ASP and JMail and it runs as a VBS file:
==========================
set msg = CreateObject("JMail.Messag
msg.ContentType = "text/plain"
msg.From = "test@mydomain.co.uk"
msg.AddRecipient "test2@mydomain.co.uk"
msg.Subject = "Test Message Subject"
msg.Body = "Test Message Body"
msg.Send(Server1) 'The name of my dedicated server and the domain listed under the Defaul Virtual SMTP Server in IIS.
msg.Close
==========================
This works fine, I am now trying to move the script over to a server in my office using Windows Small Business Server 2003 with Microsoft Exchange. This is where I hit a problem.
In theory, the only line I needed to change is the second to last line of the script, the one that refers to the servername. However, because I'm running Microsoft Exchange there is no Default Virtual SMTP Server listed in IIS. I've tried changing this to sbs2003 (the name of my office server) or mynetwork (the name of the office domain) or sbs2003.mynetwork.local, mynetwork.local but none of these work.
I receive the same error every time:
"jmail.Message: The message was undeliverable. All servers failed to receive the message"
It is as if Exchange is blocking the e-mail being sent (although it doesn't appear in the BadMail directory) but I can't see why. Exchange should allow the email to go through because I'm running the VBS file as an administrator on the same machine.
I don't think it's a problem with JMail because I've had a similar problem when using other mail scripts. I have been able to send the mail using CDO because no SMTP server is needed but I need to send it through JMAIL because of the other features I plan to use.
Need your help experts!
Ell.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Ok,
We're getting somewhere then. Top man.
How do I check if the SMTP connector is running? The whole office is running on Exchange and that seems to be working well. I've never been able to send mail through an asp/vbs page on the server when I've had to supply an SMTP server. The only time I can send mail from the server through a page is when I use CDO but I really need to use JMAIL because of the advanced features.
Awaiting next instructions Maddog!
No, but I've got 'Admistrative Groups' --> 'first administrative group' --> 'Connectors'
If I right-click in this area I'm given the option to set up a new SMTP connector.
I've found a tutorial on the net. I've had a brief look through it but it looks pretty heavy.
http://www.msexchange.org/
Is this the sort of thing I'm looking to set up?
Yeah, got that.
In the authentication section of Access control I've got anonymous access and Integrated Windows Authentication checked. Basic authentication is unchecked.
In outbound security under Delivery I've got anonymous access selected (other options are Basic authentication, Integrated Windows Authentication).
I had a look through these settings previously and they all seem to be pretty normal.
Also, here is some helpful links that assisted me with the JMail install on my Exchange 2003 SBS environment:
http://support.rapidsystem
http://www.windowsitpro.co
Anyway, it seemed to work for me.
Cheers.
Found the answer at http://www.experts-exchang
I'm using McAfee which has blocked anything but exchange using port 25.
Thanks alot to Maddog for the telnet tip which pointed me in the right direction.
Thanks to cjinsocal581 for the links, I'll take a look at those if I come across JMAIL problems.
Business Accounts
Answer for Membership
by: _Maddog_Posted on 2005-09-12 at 07:04:03ID: 14864043
Hi Ellmb122,
Change the from setting to your own email, you should be able to get an error message from exchange.
Regards,
Maddog