G
Guest
I need to send e-mail from within an ASP.NET web page. Having problem. Need assistance
Have two installation scenarios: 1) local machine (development machine connected to network); 2) network server. I use Mail.MailMessage class within ASP.NET page to send e-mail from the web site pages
On local machine - have IIS installed; SMTP Service installed and running; When I access web app from this development machine (localhost), I can successfully send e-mail to anyone from web page. This works provided I set protection for C:\Inetpub\MailRoot by adding ASP.NET Machine Account (Read,Write) privilidges - Properties | Security on folde
On network machine - have IIS installed; SMTP Service installed and running; When I access web app installed on this server (servername), I cannot send e-mail to anyone. No error - just the e-mail is never sent. SMTP is running as service too! I don't have an "ASP.NET" Machine account to set privilidges to folder "C:\Inetput\Mailroot" on server - but I have IUSR_servername, IWAM_servername, _WebApplications - but setting (read,write) privilidges - Properties | Security on folder "C:\Inetput\Mailroot" makes no difference - recipients still don't get e-mail
What is missing on the network machine - what have I overlooked - what am I possibly doing wrong on the network server
PLEASE ADVISE ASAP! What must I do for the server machine.
Have two installation scenarios: 1) local machine (development machine connected to network); 2) network server. I use Mail.MailMessage class within ASP.NET page to send e-mail from the web site pages
On local machine - have IIS installed; SMTP Service installed and running; When I access web app from this development machine (localhost), I can successfully send e-mail to anyone from web page. This works provided I set protection for C:\Inetpub\MailRoot by adding ASP.NET Machine Account (Read,Write) privilidges - Properties | Security on folde
On network machine - have IIS installed; SMTP Service installed and running; When I access web app installed on this server (servername), I cannot send e-mail to anyone. No error - just the e-mail is never sent. SMTP is running as service too! I don't have an "ASP.NET" Machine account to set privilidges to folder "C:\Inetput\Mailroot" on server - but I have IUSR_servername, IWAM_servername, _WebApplications - but setting (read,write) privilidges - Properties | Security on folder "C:\Inetput\Mailroot" makes no difference - recipients still don't get e-mail
What is missing on the network machine - what have I overlooked - what am I possibly doing wrong on the network server
PLEASE ADVISE ASAP! What must I do for the server machine.