This seems to be a permissions problem. We tried the read/write suggestiong
and it didn't help. Adding the account to the administrators group however
fixes everything. SMTP = off, console application email goes into the
All we need now is to figure out what permission is necessary. Making the
user account an operator on the smtp server didn't seem to help a bit.
"Ben" <ben@online.nospam> wrote in message
news:CaFXc.339$Ft4.330@fe37.usenetserver.com...
> Just to be sure were on the same page here, both approaches succesfully
send
> email when the smtp server is running. The issue is, when the smtp server
> is stopped the asp.net version buffers in the pickup folder while the
> console application throws a CDO.Message exception. I will try your
> suggestions though.
>
> Ben
> "Yan-Hong Huang[MSFT]" <yhhuang@online.microsoft.com> wrote in message
> news:xxgQHmBjEHA.3936@cpmsftngxa10.phx.gbl...
> > Hello Ben,
> >
> > The problem seems strange, since asp.net web application can send it but
> > console based application can't. The difference I can think of is the
> > account who is sending the email.
> >
> > Could you please create a separated console based solution to send
emails?
> >
> > There are some other steps you can try:
> >
> > Add Read/Write permmissions to Everyone on the Mailroot folder.
> >
> > Change the following line in the code:
> > SmtpMail.SmtpServer = "127.0.0.1" to SmtpMail.SmtpServer = "Blank" which
> > should default to the local SMTP service.
> >
> > Here are some references to MSDN:
> >
> > Develop Web Applications with XML and Exchange 2000
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmes2k/htm
> > l/devwebapps.asp
> >
> > Developing Applications for the Web Storage System and Outlook Web
Access
> >
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnmes2k/htm
> > l/wssdevaccess.asp
> >
> > 304427 HOW TO: Do Basic File I/O in Visual Basic .NET
> >
http://support.microsoft.com/?id=304427 > >
> > Instead of MAPI controls, I told him to use System.Web.Mail:
> > 314201 HOWTO: Send E-mail Programmatically with System.Web.Mail and
Visual
> >
http://support.microsoft.com/?id=314201 > >
> > Hope that helps.
> >
> > Best regards,
> > Yanhong Huang
> > Microsoft Community Support
> >
> > Get Secure! ¨C
www.microsoft.com/security > > Register to Access MSDN Managed Newsgroups!
>
> -
http://support.microsoft.com/default.aspx?scid=/servicedesks/msdn/nospam.
> as
> > p&SD=msdn
> >
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> >
>
>
>