473,320 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Cannot get IIS pickup directory... No idea

We are using asp.net 2.0 to send email to the pickup folder

but are getting an error:

Cannot get IIS pickup directory

the code is rather simple we are testing with.

System.Net.Mail.MailMessage message = new
System.Net.Mail.MailMessage("te**@testing.com", "te**@test.com",
"Testing " + DateTime.Now.ToString(), "Testing the Mail Drop Folder");
System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient();
client.DeliveryMethod =
System.Net.Mail.SmtpDeliveryMethod.PickupDirectory FromIis;
client.Send(message);

Example at: www.andrewworral.com
but it breaks on our production server. It works locally and I have no
idea why it can't "get" the directory. I have tried also setting the
folder path, but get the same error.

Thanks!

-Andy

Oct 2 '06 #1
4 6864
Does Anyone have any idea on this???? Could Really use the help.

Thanks!

-Andy

AndyNY wrote:
We are using asp.net 2.0 to send email to the pickup folder

but are getting an error:

Cannot get IIS pickup directory

the code is rather simple we are testing with.

System.Net.Mail.MailMessage message = new
System.Net.Mail.MailMessage("te**@testing.com", "te**@test.com",
"Testing " + DateTime.Now.ToString(), "Testing the Mail Drop Folder");
System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient();
client.DeliveryMethod =
System.Net.Mail.SmtpDeliveryMethod.PickupDirectory FromIis;
client.Send(message);

Example at: www.andrewworral.com
but it breaks on our production server. It works locally and I have no
idea why it can't "get" the directory. I have tried also setting the
folder path, but get the same error.

Thanks!

-Andy
Oct 5 '06 #2
Does Anyone have any idea on this???? Could Really use the help.

Thanks!

-Andy

AndyNY wrote:
We are using asp.net 2.0 to send email to the pickup folder

but are getting an error:

Cannot get IIS pickup directory

the code is rather simple we are testing with.

System.Net.Mail.MailMessage message = new
System.Net.Mail.MailMessage("te**@testing.com", "te**@test.com",
"Testing " + DateTime.Now.ToString(), "Testing the Mail Drop Folder");
System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient();
client.DeliveryMethod =
System.Net.Mail.SmtpDeliveryMethod.PickupDirectory FromIis;
client.Send(message);

Example at: www.andrewworral.com
but it breaks on our production server. It works locally and I have no
idea why it can't "get" the directory. I have tried also setting the
folder path, but get the same error.

Thanks!

-Andy
Oct 5 '06 #3
Does Anyone have any idea on this???? Could Really use the help.

Thanks!

-Andy

AndyNY wrote:
We are using asp.net 2.0 to send email to the pickup folder

but are getting an error:

Cannot get IIS pickup directory

the code is rather simple we are testing with.

System.Net.Mail.MailMessage message = new
System.Net.Mail.MailMessage("te**@testing.com", "te**@test.com",
"Testing " + DateTime.Now.ToString(), "Testing the Mail Drop Folder");
System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient();
client.DeliveryMethod =
System.Net.Mail.SmtpDeliveryMethod.PickupDirectory FromIis;
client.Send(message);

Example at: www.andrewworral.com
but it breaks on our production server. It works locally and I have no
idea why it can't "get" the directory. I have tried also setting the
folder path, but get the same error.

Thanks!

-Andy
Oct 5 '06 #4
Sorry about that,

using Google Groups for submission and I thought it was freezing up...
apparantly it just decided to send numerous times instead.

-andy

AndyNY wrote:
Does Anyone have any idea on this???? Could Really use the help.

Thanks!

-Andy

AndyNY wrote:
We are using asp.net 2.0 to send email to the pickup folder

but are getting an error:

Cannot get IIS pickup directory

the code is rather simple we are testing with.

System.Net.Mail.MailMessage message = new
System.Net.Mail.MailMessage("te**@testing.com", "te**@test.com",
"Testing " + DateTime.Now.ToString(), "Testing the Mail Drop Folder");
System.Net.Mail.SmtpClient client = new System.Net.Mail.SmtpClient();
client.DeliveryMethod =
System.Net.Mail.SmtpDeliveryMethod.PickupDirectory FromIis;
client.Send(message);

Example at: www.andrewworral.com
but it breaks on our production server. It works locally and I have no
idea why it can't "get" the directory. I have tried also setting the
folder path, but get the same error.

Thanks!

-Andy
Oct 5 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Alan Howard | last post by:
Hi there, I can't seem to find any info on this error message that's generated when sending email with CDO: "The pickup directory path is required and was not specified" Does anyone know...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
7
by: Lau | last post by:
I need to send 1000 emails from an asp.net website. Normally I would use System.Web.Mail.MailMessage() to send thru an SMTP server. But the large amount of emails results in a timeout. My server...
2
by: Samuel | last post by:
Hi, I am not too sure how to send email with System.Web.Mail using Pickup directory. The following is what I have ==================================================== eMail = new...
1
by: Benny Ng | last post by:
Dear All, Now I just finished my winform application. And a part of that is to send email reminder to the users. It's working fine in the server that with SMTP service in Windows 2003. But now...
5
by: =?Utf-8?B?bW9tbw==?= | last post by:
Hello, I've been having a prlbem sending an email using ASP.net 2.0 I can send an email if “To” address is hotmail, gmail or yahoo but not other addresses. Does anyone know how I can...
1
by: =?Utf-8?B?TWlrZQ==?= | last post by:
Hi guys, I'm using this code to generate emails and it's working in my machine: // Create the mail message MailMessage objMailMsg = new MailMessage(strFrom, strTo); objMailMsg.BodyEncoding =...
7
theGeek
by: theGeek | last post by:
Hello all! My problem is: "How can we read an email from a specified pickup directory to which the mails were sent using SmtpClient.Send after setting the SmtpClient.Deliverymethod =...
2
by: carmelo | last post by:
Hi, I created an ASP page for sending email messages. I'd like to write these messages directly into the C:\Inetpub\mailroot\Pickup directory. The problem is that when the IIS SMTP is active...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.