I have error in smtpclient() with remote server. Application with local server not have error.
'NewsLetter.vshost.exe' (Managed): Loaded 'I:\NewsLetter\NewsLetter\bin\Debug\NewsLetter.exe', Symbols loaded.
'NewsLetter.vshost.exe' (Managed): Loaded 'C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
System.Net Verbose: 0 : [2900] SmtpClient::.ctor(host=mail.cs.interbusiness.it)
System.Net Information: 0 : [2900] Associating SmtpClient#843226 with SmtpTransport#37945174
System.Net Verbose: 0 : [2900] Exiting SmtpClient::.ctor() -> SmtpClient#843226
System.Net Verbose: 0 : [2900] SmtpClient#843226::Send(MailMessage#29811240)
System.Net Information: 0 : [2900] SmtpClient#843226::Send(DeliveryMethod=Network)
System.Net Information: 0 : [2900] Associating SmtpClient#843226 with MailMessage#29811240
System.Net Information: 0 : [2900] Associating SmtpTransport#37945174 with SmtpConnection#66437409
System.Net Information: 0 : [2900] Associating SmtpConnection#66437409 with ServicePoint#36893403
System.Net.Sockets Verbose: 0 : [2900] Socket#49590434::Socket(InterNetwork#2)
System.Net.Sockets Verbose: 0 : [2900] Exiting Socket#49590434::Socket()
System.Net.Sockets Verbose: 0 : [2900] Socket#49590434::Connect(62:25#1041245516)
System.Net.Sockets Verbose: 0 : [2900] Exiting Socket#49590434::Connect()
System.Net Information: 0 : [2900] Associating SmtpConnection#66437409 with SmtpPooledStream#16977025
System.Net.Sockets Verbose: 0 : [2900] Socket#49590434::Receive()
System.Net.Sockets Verbose: 0 : [2900] Data from Socket#49590434::Receive
System.Net.Sockets Verbose: 0 : [2900] 00000000 : 35 35 34 20 69 62 73 30-33 2E 69 6E 74 65 72 62 : 554 ibs03.interb
System.Net.Sockets Verbose: 0 : [2900] 00000010 : 75 73 69 6E 65 73 73 2E-69 74 0D 0A : usiness.it..
System.Net.Sockets Verbose: 0 : [2900] Exiting Socket#49590434::Receive() -> 28#28
System.Net Error: 0 : [2900] Exception in the SmtpClient#843226::Send - Transaction failed. The server response was: ibs03.interbusiness.it
System.Net Error: 0 : [2900] 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)
System.Net.Sockets Verbose: 0 : [2900] Socket#49590434::Dispose()
A first chance exception of type 'System.Net.Mail.SmtpException' occurred in System.dll
System.Net Verbose: 0 : [2900] Exiting SmtpClient#843226::Send()
The thread 0x860 has exited with code 0 (0x0).
The thread 0xb54 has exited with code 0 (0x0).
The program '[1540] NewsLetter.vshost.exe: Managed' has exited with code 0 (0x0).
help me. Thanks