Solved

Error 424 on mail.send

Posted on 2000-03-30
4
1,090 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
4 Comments
 
LVL 8

Accepted Solution

by:
drittich earned 50 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
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…

762 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

20 Experts available now in Live!

Get 1:1 Help Now