Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: IIS7 ASP.NET VB.NET
i had windows server 2003 as my server at that time for sending mails i was using code
                MySmtp = New SmtpClient("localhost")
                MySmtp.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis
                MySmtp.PickupDirectoryLocation = "C:\Inetpub\mailroot\Pickup\"
                MySmtp.Send(MyMsg)
it was runnig well and fine but now i have installed windows server 2008 and mails are not sent by this code this code shows error that can not get iis pickup directory....
any suggestion or sollutions plz??????
if You have any other code for sending mail you can also post it, may be that work for me..
Posted 8-Nov-12 23:04pm
Edited 8-Nov-12 23:58pm
v3

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

use this as location C:\\Inetpub\\mailroot\\Pickup
  Permalink  
v2
Comments
Devang Vaja at 9-Nov-12 6:56am
   
i Got sollution by using smtp mail server

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web01 | 2.8.150327.1 | Last Updated 9 Nov 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100