Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 01, 2007 12:01 PM by Johnny be good
May 18, 2006 06:45 AM|LINK
May 18, 2006 03:25 PM|LINK
I have a feeling it is a permissions issue, since the error message does not have the path to the file, only ' '.
on the app folder IUSER_machineName has full control. What other permissions do I need to set?
Thanks for all the help
May 19, 2006 07:04 AM|LINK
May 19, 2006 08:49 AM|LINK
I would try giving network service read/write permissions
it's better to create a dedicated windows user account and impersonate with that one. Use the
<identity> element in the web.config.
May 22, 2006 02:55 PM|LINK
May 22, 2006 03:08 PM|LINK
Ok, I created a control to use multiple smtp servers and load balancing as well as a queue to re-send emails with problems and track them. Maybe this is easier for people to use:
You can download it from here
Jun 01, 2006 01:11 PM|LINK
I have used MailHelper class and call this function SendMailMessage,
But i am experiacing the following exceptin. i also updated Web.Config as required.
System.Net.Mail.SmtpException: Failure sending mail. ---> System.FormatException: Smtp server returned an invalid response. at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte
buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller) at System.Net.Mail.SmtpReplyReader.ReadLine()
at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port) at System.Net.Mail.SmtpClient.GetConnection() at System.Net.Mail.SmtpClient.Send(MailMessage message) --- End of
inner exception stack trace --- at System.Net.Mail.SmtpClient.Send(MailMessage message) at MailHelper.SendMailMessage(String from, String to, String bcc, String cc, String subject, String body) in
Smtp Server is working fine with VS 2003.
Jun 01, 2006 02:51 PM|LINK
I re wrote the mail class for 2.0 as promissed. Please download the control and let me know if works for you
Please post results into this Thread.
Aug 29, 2006 05:07 AM|LINK
whats wrong? my error is
i just copy the file then place it to APP_code folder
Aug 29, 2006 05:34 AM|LINK
[quote user="Ez416"]whats wrong? my error is Unable to read data from the transport connection: net_io_connectionclosed.
There's an error I haven't seen before. I searched around Google and it looks like you'll either need to use the exact IP address of the mail server or set it to (All unassigned) in IIS.