Solved

Error 424 on mail.send

Posted on 2000-03-30
4
1,097 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
API Location, separating out information 10 47
Help with stored procedure 30 64
SQL Filter Question 8 82
Auto Submit on dropdown box 14 64
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

813 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

14 Experts available now in Live!

Get 1:1 Help Now