|
 |
|
|
can't received email although follow all the step of your guide .i haved configured the smtpServer in IIS . anybody can help me ! plz .
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
hi, I got following error.
The transport failed to connect to the server. :: at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) at System.Web.Mail.SmtpMail.CdoSysHelper.Send(MailMessage message) at System.Web.Mail.SmtpMail.Send(MailMessage message) at _Default.Button1_Click(Object sender, EventArgs e) in c:\Inetpub\wwwroot\SMTP\WebSite\Default.aspx.cs:line 32
my code is
Server.ScriptTimeout = 10000; MailMessage msg = new MailMessage(); msg.From = "sanjay.jain@orange-ftgroup.com"; msg.To = "sanjay.jain@orange-ftgroup.com"; msg.Subject = "test"; msg.BodyFormat = MailFormat.Html;
msg.Body = "<html><body>hello world</body></html>"; SmtpMail.SmtpServer = "mail.gtllimited.com"; SmtpMail.Send(msg); Response.Write("EMAIL SEND");
If i set SmtpMail.SmtpServer="localhost" then i get msg as email send but i havent receive mail.
so plz. guide us
modified on Wednesday, June 4, 2008 7:28 AM
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
How to solve this error In same program. once again config. that server after that get this error
please reply me
[COMException (0x80040213): The transport failed to connect to the server.] How to solve this error
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
hi,
I'm execute yur code with yur step. but under below message was appered please help me
The message could not be sent to the SMTP server. The transport error code was 0x800ccc15. The server response was not available i'm waiting for your positive reply
thank you
paulraj PV
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Have you checked your antivirus software or any other security software? They might have blocked access to PORT 25.
Good luck!
The Geek http://www.geekays.net/
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Hi, I am facing same problem. ---The message could not be sent to the SMTP server. The transport error code was 0x800ccc15. The server response was not available.
I am able to configure that emailid in outlook n sending and receiving mail from that ID. what could be the problem.
Help Me out. Thanks
Saurabh
Saurabh Tripathi
|
| Sign In·View Thread·PermaLink | 1.67/5 (2 votes) |
|
|
|
 |
|
|
 |
|
|
Hi I am also getting this error when i set the Bodyformat=html. If i use Bodyformat=text its working fine.
Thanks in advance
Ramesh.A
|
| Sign In·View Thread·PermaLink | 3.83/5 (3 votes) |
|
|
|
 |
|
|
I am getting the following error
System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x8004020F): The server rejected one or more recipient addresses. The server response was: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1)
Is it possible to find out exact recipient addresses, which are rejected by the SMTP server?
Thanks in advance.
Regards Anees Ahamed.N
|
| Sign In·View Thread·PermaLink | 2.00/5 (4 votes) |
|
|
|
 |
|
|
System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server. --- End of inner exception stack trace --- at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) at System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) --- End of inner exception stack trace --- at System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) at System.Web.Mail.CdoSysHelper.Send(MailMessage message) at System.Web.Mail.SmtpMail.Send(MailMessage message) at EVC.WebForm2.Button1_Click(Object sender, EventArgs e) in c:\evc\webform2.aspx.cs:line 76
lakshmi
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server. --- End of inner exception stack trace --- at System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr, Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture, String[] namedParameters) at System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters) at System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) --- End of inner exception stack trace --- at System.Web.Mail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) at System.Web.Mail.CdoSysHelper.Send(MailMessage message) at System.Web.Mail.SmtpMail.Send(MailMessage message) at EVC.WebForm2.Button1_Click(Object sender, EventArgs e) in c:\evc\webform2.aspx.cs:line 76
SmtpMail.SmtpServer = //take the isa server ip or the exchange ip?!!
Thanks,
|
| Sign In·View Thread·PermaLink | 1.50/5 (6 votes) |
|
|
|
 |
|
|
I use the code and set iis property is ok! i click the button(submit mail) then response this word
The Mail has been sent to:
• To: cnlideyong@yahoo.com.cn • Cc: cnlideyong@yahoo.com.cn • Bcc: cnlideyong@yahoo.com.cn
but cnlideyong@yahoo.com.cn can't receive the email.
i use other email address ,but the result is the same like this.
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
|
 |
|
|
Hi,
I think your code is good and worked for what i needed, but im wanting to read more than email address from an sql database and then send an email to them all.
Have you got any code available that will help.
Thanks
Paul
|
| Sign In·View Thread·PermaLink | 5.00/5 (2 votes) |
|
|
|
 |
|
|
hello paul
if u have got ne reply for ur question(How to read from a database and send to more than one email address) den plzzzzzz send it me at my email id mosn3@rediffmail.com
regards Mohsin
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
Please insure that you do not setup your SMTP Server as instructed by this tutorial. Opening up SMTP Relay to all IP addresses will allow spammers to use your email server as a relay to send hundreds of thousands of spam emails.
Please manually enter the ip address of the machine that you need to access this server with and NOT allow all ip address to access the server.
|
| Sign In·View Thread·PermaLink | 3.50/5 (2 votes) |
|
|
|
 |
|
|
<script language="VB" runat="server"> Public Sub btnSendEmail_Click ( ByVal Sender As System.Object, ByVal e as System.EventArgs ) Dim objSmtpMail As SmtpMail Dim Mail As MailMessage = new MailMessage objSmtpMail.SmtpServer = "localhost" Mail.To =txtTo.text Mail.From = txtFrom.text Mail.Subject =txtSubject.text Mail.Body = txtMessage.text objSmtpMail.Send (Mail) objSmtpMail = Nothing End Sub </script>
I have created a file and the code is as shown above. At first the output is a file with extension .eml generated in IIS, but not being sent out to the receiver. After i test the code for few times, it generates me a bad mail, not the .eml file anymore. Can anyone tell me what's wrong? Is it i need to have a real mail server?
Thanks
|
| Sign In·View Thread·PermaLink | 2.50/5 (4 votes) |
|
|
|
 |
|
|
Greetings! I used the sendmail way of sending smtp emails when developing an asp.net application using my local host. It worked fine, however I am now deploying this application to a server which does not allow relaying. Error reads: "The message could not be sent to the SMTP server. The transport error code was 0x800ccc61. The server response was 572 Relay not authorized"
This means I have to authenticate using an id and a password. Any suggestion would help very much. Thanks in advance.
-Yigit
Yigit Atli
|
| Sign In·View Thread·PermaLink | 1.50/5 (2 votes) |
|
|
|
 |
|
|
 |
|
|
If the field(s), such as "Cc", "To", contain(s) more than one address. How to handle this situation.
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
 |
|
|
 |
|
|
I'm getting this message too on win2k server!  (Could not access 'CDO.Message' object.)
But the smtp service is started allready.
Agyklon
|
| Sign In·View Thread·PermaLink | 2.00/5 (1 vote) |
|
|
|
 |
|
|
Hey check your smtp server configurations. and check that you have set SmtpMail.SmtpServer.
|
| Sign In·View Thread·PermaLink | 1.75/5 (4 votes) |
|
|
|
 |
|
|
This message is from an incorrectly configured SmtpMail.SmtpServer. Make sure the IP address is valid, and if you are using a hostname that dns is configured correctly.
Scotty.
|
| Sign In·View Thread·PermaLink | 2.67/5 (3 votes) |
|
|
|
 |