i want to create some code to send email in my office , but the connection use proxy .. i searched any reference, i found that SMTP port and HTTP port is different , so the HTTP Proxy can't allow the process from SMTP. can you give me another reference from this case ? thanks alot
Sending email with attachment from Windows Froms C# application madeleindt
21 Feb '12 - 23:58
Hello All,
I am super frustrated at the moment - struggling with something that is supposed to be straight forward and Easy.
My Windows Forms application is taking a screen dump of a production monitor application and then mailing it hourly as an attachment to the production managers. I created a gmail account for the sending and all managers created gmail accounts for receiving this hourly updated.
unfortunately my application keeps on falling over when trying to send the email with error:
"+$exception {"Failure sending mail." System.Exceptio{System.Net.Mail.SmtpException}
InnerException {"Unable to connect to the remote server"} System.Exception {System.Net.WebException}
InnerException {"No connection could be made because the target machine actively refused it 173.194.69.109:587"} System.Exception {System.Net.Sockets.SocketException}
my smtp values stored in my app.config:
host = smtp.gmail.com" />
Username: the email account i created for sending the mails mentioned above : aaa@gmail.com
Password = the gmail account password for the above account.
Please please please can anyone assist with my problem. What am i doing wrong or what am i missing.
Hi,
I'm developing email application using ASP.NET and c#. i have to trace bounced emails and need to store the status report in a database. i need ideas and sample code(if any) for doing this task.