?
Solved

Error 424 on mail.send

Posted on 2000-03-30
4
Medium Priority
?
1,120 Views
Last Modified: 2012-06-22
Hi experts,

We´re going to move our Intranet into a new server in the next days. As a test, we´ve installed Windows NT 4.0 and IIS 4 (and some service packs!) on the new server so as to check if our ASP code would work correctly. Everything seems to be working well (database access, counters, etc), BUT the procedures to send e-mail. This is an example:

Set Mail = Server.CreateObject ("Persits.MailSender")

Mail.Host = "192.168.12.211"
Mail.From = "ecj@mycompany.com"
Mail.FromName = "Intranet"      Mail.AddAddress "abc@mycompany.com", "WebMaster"
Mail.Subject = "Test"
Mail.Body = "Test"
Mail.Send

When I try to use this script in my ASP pages the server answers with the following error message:

424 error - Object Required

Does anyone know what I´m supposed to do? Do I need to install any dll to accomplish this task???? Which object is missing?

thanks a lot

Correa
0
Comment
Question by:Correa
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 8

Accepted Solution

by:
drittich earned 200 total points
ID: 2670809
It looks like you are trying to use the AspEmail component, but have not registered it on the server.  Find out what directory the AspEmail.dll file is in, and then register it like this:

C:\>regsvr32 c:\AspEmailDir\AspEmail.dll
0
 
LVL 1

Expert Comment

by:choroque
ID: 2672101
if the regsvr32 not working, you can use MTS to install the dll.
0
 
LVL 15

Expert Comment

by:robbert
ID: 2672378
Mail.Host means the IP address / server name of your mail server - the machine where a mail server, as MS Exchange, is installed.
Where do you receive the error message, in the first or second code line?
0
 

Author Comment

by:Correa
ID: 2672915
So easy...  thank u!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
I was asked about the differences between classic ASP and ASP.NET, so let me put them down here, for reference: Let's make the introductions... Classic ASP was launched by Microsoft in 1998 and dynamically generate web pages upon user interact…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

765 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