Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Thu, 12 Jun 2008 09:59:57 -0500,    group: microsoft.public.inetserver.iis.smtp_nntp        back       


Cannot get IIS pickup directory   
I am trying to send mail, but does anyone know where I can see a working 
example.  I tried using the one from MSDN, but
I am getting this SMTPException:Cannot get IIS pickup directory
date: Thu, 12 Jun 2008 09:59:57 -0500   author:   support

Re: Cannot get IIS pickup directory   
> I am trying to send mail, but does anyone know where I can see a working
> example.  I tried using the one from MSDN, but
> I am getting this SMTPException:Cannot get IIS pickup directory

You need to make sure you have a working IIS SMTP install before trying to  
access it programatically.

Can you use your IIS SMTP server to send mail to local and/or remote  
domains (using a regular MTA like OE)?  Can you drag-and-drop an RFC 822  
message into your \Pickup directory and see it delivered?

--Sandy




------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
------------------------------------
date: Thu, 12 Jun 2008 15:11:22 -0400   author:   Sanford Whiteman

Re: Cannot get IIS pickup directory   
Ok, I tried sending it out via Outlook Express.
I am getting this error.

error:
--------
The message could not be sent because one of the recipients was rejected by 
the server. The rejected e-mail address was 'someone@yahoo.com'. Subject 
'test3', Account: 'mail1.christianasp.net', Server: 
'mail1.christianasp.net', Protocol: SMTP, Server Response: '503 This mail 
server requires authentication when attempting to send to a non-local e-mail 
address. Please check your mail client settings or contact your 
administrator to verify that the domain or address is defined for this 
server.', Port: 25, Secure(SSL): No, Server Error: 503, Error Number: 
0x800CCC79
----------

How do I authenticate programmatically from a web page?
Can someone give me a link to a page which describes this in detail and has 
a working example?
--Thanks,
date: Fri, 13 Jun 2008 11:59:53 -0500   author:   support

Re: Cannot get IIS pickup directory   
> How do I authenticate programmatically from a web page?
> Can someone give me a link to a page which describes this in detail and  
> has a working example?

What SMTP client library are you using?  SMTP AUTH mechanisms are  
described intimately by RFC -- but the API-level implementation varies  
completely by SMTP client library (CDOSYS, etc.).

--Sandy


------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
------------------------------------
date: Fri, 13 Jun 2008 14:50:33 -0400   author:   Sanford Whiteman

Re: Cannot get IIS pickup directory   
I am sending out like these examples.

http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.aspx

http://www.developer.com/net/net/article.php/3511731
date: Sat, 5 Jul 2008 12:03:19 -0500   author:   support

Re: Cannot get IIS pickup directory   
It now works via Outlook Express if I set myself up to use the 
authentication options.
How do I do this programmtically?
 ----------
>
> How do I authenticate programmatically from a web page?
> Can someone give me a link to a page which describes this in detail and 
> has a working example?
> --Thanks,
>
date: Sat, 5 Jul 2008 12:12:09 -0500   author:   support

Re: Cannot get IIS pickup directory   
Ok, I found this at
http://forums.msdn.microsoft.com/en-US/netfxnetcom/thread/28b5a576-0da2-42c9-8de3-f2bd1f30ded4/
I set it up so that ssl is off (based on the exception I was getting)
which works fine from OutlookExpress, but not with .Net 2 release version
date: Sat, 5 Jul 2008 14:46:09 -0500   author:   support

Re: Cannot get IIS pickup directory   
Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET 
Version:2.0.50727.1433

"support"  wrote in message 
news:estYOdlzIHA.3504@TK2MSFTNGP06.phx.gbl...
> Ok, I found this at
> http://forums.msdn.microsoft.com/en-US/netfxnetcom/thread/28b5a576-0da2-42c9-8de3-f2bd1f30ded4/
> I set it up so that ssl is off (based on the exception I was getting)
> which works fine from OutlookExpress, but not with .Net 2 release version
>
date: Sat, 5 Jul 2008 19:27:03 -0500   author:   support

Re: Cannot get IIS pickup directory   
> I am sending out like these examples.

What is the exact code block you're using, the error message you receive,  
and the offending line of code?

--Sandy


------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
------------------------------------
date: Tue, 17 Jun 2008 00:30:07 -0400   author:   Sanford Whiteman

Re: Cannot get IIS pickup directory   
If you look at my other follow up, I don't get any error messages.
It just doesn't work.  I tried inserting the trace options into my 
web.config file, but the server rejected them.
"Sanford Whiteman"  wrote 
in message news:op.ucvlghrd6c17zw@gw02.broadleaf.local...
>> I am sending out like these examples.
>
> What is the exact code block you're using, the error message you receive, 
> and the offending line of code?
>
> --Sandy
>
> Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET
Version:2.0.50727.1433

"support"  wrote in message
news:estYOdlzIHA.3504@TK2MSFTNGP06.phx.gbl...
> Ok, I found this at
> http://forums.msdn.microsoft.com/en-US/netfxnetcom/thread/28b5a576-0da2-42c9-8de3-f2bd1f30ded4/
> I set it up so that ssl is off (based on the exception I was getting)
> which works fine from OutlookExpress, but not with .Net 2 release version
>
date: Thu, 19 Jun 2008 22:04:40 -0500   author:   support

Re: Cannot get IIS pickup directory   
> If you look at my other follow up, I don't get any error messages.
> It just doesn't work.

You  have  to get error messages. If your code isn't barfing, then you
are attempting to submit mail to an SMTP server. You can't submit mail
without it getting either accepted or rejected.

What do your SMTP logs reflect when you are sending these messages?

> I tried inserting the trace options into my web.config file, but the
> server rejected them.

Well,  that would be a problem on your ASP.NET side, kind of off-topic
here.

--Sandy


------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
------------------------------------
date: Fri, 20 Jun 2008 02:19:33 -0400   author:   Sanford Whiteman

Re: Cannot get IIS pickup directory   
I have a working IIS SMTP installation.  It is successfully sending email 
that is sent using CDONTS. However when it using the new .net mail object 
using method 

client.UseDefaultCredentials = True
            client.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis
            client.Send(mailObject)
It works find on my local development machine and the production server but 
it returns that error on the development Server.  The website on my local 
machine which XP is set to be the default website when I am running it.  On 
the development server and the production server the website is a newly added 
website.  On the 2003 servers the user running the website is Network Service 
and the authenication is set to allow anonymous access. using IURS.  Network 
Service has all the needed permissions to "mailroot\pickup".  All the blogs 
and forums say "you have to give you user the rights it needs to that 
folder."  Well it does.  So why am I am getting that error here and not 
getting it on the production server.

"Sanford Whiteman" wrote:

> > I am trying to send mail, but does anyone know where I can see a working
> > example.  I tried using the one from MSDN, but
> > I am getting this SMTPException:Cannot get IIS pickup directory
> 
> You need to make sure you have a working IIS SMTP install before trying to  
> access it programatically.
> 
> Can you use your IIS SMTP server to send mail to local and/or remote  
> domains (using a regular MTA like OE)?  Can you drag-and-drop an RFC 822  
> message into your \Pickup directory and see it delivered?
> 
> --Sandy
> 
> 
> 
> 
> ------------------------------------
> Sanford Whiteman, Chief Technologist
> Broadleaf Systems, a division of
> Cypress Integrated Systems, Inc.
> ------------------------------------
>
date: Tue, 16 Sep 2008 07:11:02 -0700   author:   OldProgrammer

Re: Cannot get IIS pickup directory   
> and forums say "you have to give you user the rights it needs to that
> folder."  Well it does.  So why am I am getting that error here and not
> getting it on the production server.

Does the \Pickup folder actually function correctly if you place a test  
message in there for local or remote delivery?

Is the SMTP service installed and running?

--Sandy


------------------------------------
Sanford Whiteman, Chief Technologist
Broadleaf Systems, a division of
Cypress Integrated Systems, Inc.
------------------------------------
date: Tue, 16 Sep 2008 12:58:36 -0400   author:   Sanford Whiteman

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us