Solved

Error 424 on mail.send

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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…
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/…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

860 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