Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i had windows server 2003 as my server at that time for sending mails i was using code
VB
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
Updated 8-Nov-12 22:58pm
v3

1 solution

use this as location C:\\Inetpub\\mailroot\\Pickup
 
Share this answer
 
v2
Comments
Devang Vaja 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900