• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2314
  • Last Modified:

ASP Email Error with Mail.Queue


I have a script using ASP email to send multiple email messages.
It works fine but once I add the line,

Mail.Queue I get the following error message:

Persits.MailSender.4 error '800a0010'
No path specified and no default value found in the registry.
/send/sendmessage/index.asp, line 206

Any idea what is causing this?
I have already given the Queue folder full permissons for Everyone and IUSR
3 Solutions
Rikin ShahMicrosoft Dynamics CRM ConsultantCommented:
Try this...

Go to inetmgr (IIS) click on Default SMTP virtual server.

Stop the service for a while and start it again.
I thought the method was mail.SendToQueue to send the message to the queue for delivery or Mail.queue = true to enable queuing.

Can you post the extract of your actual bit of code so we can see how you are trying to use it please.
Abiel de GrootDeveloperCommented:
The method varies on the mail program. For example in Persits aspMail it is simply;

Mail.Queue = True

The error you are getting indicates that the mail script needs to be configured as it cannot find the queue folder. For example, in persits mail there is a config program called 'Email Agent', on IIS. Within this there is a place to specify them teh default mail serevr and queue folder.

Obviously the default values in this case do not work.

Hope this helps.

Abiel M de Groot Sanders
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Abiel de GrootDeveloperCommented:

You may also need to grant it permission to access the floder.

harris9999Author Commented:
I got the answer from the Persits support team.
I had everything configured correctly.

Solution was:

"This is probably due to “virtualization” on Windows 2008.

On some machines where Aspemail is installed, the EmailAgent control panels writes to

HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Persits Software\AspEmail\EmailAgent

while the EmailAgent service itself looks for the configuration parameters under its proper place:

HKEY_LOCAL_MACHINE\SOFTWARE\Persits Software\AspEmail\EmailAgent

That causes the problem you are having. The easiest way to fix it is to copy all values from the first node to the second manually."
harris9999Author Commented:
My own answer was the solution.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now