Solved

Error 424 on mail.send

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ASP equivalent to Windows findstr 3 70
C# Gridview does not exist in the current context 14 63
Highlight a word from some text 16 48
Need help to rewrite script 3 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…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 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

21 Experts available now in Live!

Get 1:1 Help Now