J
Jeff
hi
asp.net 3.5
websesrver IIS7
I'm trying to send email from my website and get this error:
"Access to the path
'C:\inetpub\mailroot\Pickup\75db1061-bd15-4893-93d9-2477dee27983.eml' is
denied."
This is the code I use to send with:
MailMessage msg = md.CreateMailMessage(recipient, replacements, this);
SmtpClient client = new SmtpClient();
client.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis;
client.Send(msg);
msg.Dispose();
this is the web.config settings
<system.net>
<mailSettings>
<smtp>
<network host="localhost" password="" userName="" />
</smtp>
</mailSettings>
</system.net>
I've installed SMTP Server on the server, the server is a win2k8 machine
any ideas what I'm doing wrong here?
asp.net 3.5
websesrver IIS7
I'm trying to send email from my website and get this error:
"Access to the path
'C:\inetpub\mailroot\Pickup\75db1061-bd15-4893-93d9-2477dee27983.eml' is
denied."
This is the code I use to send with:
MailMessage msg = md.CreateMailMessage(recipient, replacements, this);
SmtpClient client = new SmtpClient();
client.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis;
client.Send(msg);
msg.Dispose();
this is the web.config settings
<system.net>
<mailSettings>
<smtp>
<network host="localhost" password="" userName="" />
</smtp>
</mailSettings>
</system.net>
I've installed SMTP Server on the server, the server is a win2k8 machine
any ideas what I'm doing wrong here?