Sets or retrieves the pickup directory for Microsoft's queue directory.
To increase performance, set this property to the mailroot\pickup directory of your machine. If this property is not set, aspNetEmail must attempt to locate the mailroot directory.
[C#]
EmailMessage msg = new EmailMessage( );
msg.FromAddress = "me@MyCompany.com";
msg.To = "you@YourCompany.com";
msg.Subject = "Daily Newsletter";
msg.Body = "Here is our daily newsletter.....";
msg.MSPickupDirectory = "c:\\inetpub\\mailroot\\pickup\\";
msg.SendToMSPickup();
[Visual Basic]
Dim msg As New EmailMessage()
msg.FromAddress = "me@MyCompany.com"
msg.To = "you@YourCompany.com"
msg.Subject = "Daily Newsletter"
msg.Body = "Here is our daily newsletter....."
msg.MSPickupDirectory = "c:\inetpub\mailroot\pickup\"
msg.SendToMSPickup()