Sponsored by
www.aspnetemail.com
|
 |
Discuss This FAQ Item
Got a question? Another Suggestion? Want to post your solution? Discuss it below.
-
Relat error
[ Reply ]
I stay home, use window XP Professional to write a web project (using asp.net) for my futher website. I test a send mail code as following:
Dim msg As New MailMessage() msg.From = "support@ruying.com" msg.To = "mingyanglin@hotmail.com" msg.Subject = "testing" msg.Body = "Hello" SmtpMail.SmtpServer = "localhost" SmtpMail.Send(msg)
I got the error as following: Exception Details: System.Runtime.InteropServices.COMException: The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for mingyanglin@hotmail.com
Qestion: My computer, SMTP service is started, other asp.net program pages working very well. Do I need configure smtp service? If need do it, does any article can help me to do it.
Mingyang Lin [ mingyanglin ( at ) hotmail dot com ],
2004-02-11 19:37:20
#
-
Mailing Through SMTP Service
[ Reply ]
I am trying to send e-mail messages from a development machine running windows xp using ASP.Net. I ran the code below and got an error message:
"The server rejected one or more recipient addresses. The server response was: 550 5.7.1 unable t relay for hib777@yahoo.com.
We do not have any smtp server here and I'm trying to send using the localhost that has SMTP service running on it. How do I go about this?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim emsg As New MailMessage
With emsg .From = "hammed.a.ibrahim@ng.pwc.com" .To = "hib777@yahoo.com" .Subject = "Testing" .Body = "Can you see this, bob?" .BodyFormat = MailFormat.Text SmtpMail.SmtpServer = "localhost" SmtpMail.Send(emsg) End With End Sub
Hammed Ibrahim [ hammed dot a dot ibrahim ( at ) ng dot pwc dot com ],
2004-03-16 03:18:14
#
-
RE: Mailing Through SMTP Service
[ Reply ]
http://www.systemwebmail.com/faq/4.3.11.aspx
dave [ dave ( at ) 123aspx dot com ],
2004-03-16 08:17:54
#
-
RE: Mailing Through SMTP Service
[ Reply ]
i have tried out all the suggestion given by all the friends,but still could not solve CDO.messege object error......i have a machine running on xp and im using vb.net to send mail....could anyone kindly tell me how to connect to smtp relay server? and also how to get rid of 'could not access CDO.messenge object?'.....the code i have used is as follows:
Private Sub CmdSend_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CmdSend.Click Dim objEmailMessage As System.Web.Mail.MailMessage Dim objSMTPServer As System.Web.Mail.SmtpMail
objEmailMessage = New System.Web.Mail.MailMessage
Try With objEmailMessage .To = TxtTo.Text .From = TxtFrom.Text .Subject = TxtSub.Text .Body = RchTxtBody.Text .Priority = MailPriority.Normal .BodyFormat = MailFormat.Text
End With
objEmailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1") 'basic authentication objEmailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "bru_bhai@yahoo.com") 'set your username here objEmailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "wong") 'set your password here
objEmailMessage.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout", 60) objSMTPServer.SmtpServer = "mail.yahoo.com"
objSMTPServer.Send(objEmailMessage) MsgBox("Email sent....") Catch err As Exception Dim str As String str = err.Message() MsgBox(str) End Try
aadim [ onepiecebro ( at ) yahoo dot com ],
2006-02-09 20:26:17
#
-
RE RE: Mailing Through SMTP Service
[ Reply ]
U have to change the code
SmtpMail.SmtpServer = "Here your system IP address or Localhost"
Before this u have to configure smtp default virtual server,to do this mycomputer-manage- services and applications-smtp default virtual server-rightclick-properties-access tab-click relay button -add your system IP address.
David Charles.M [ davidchar ( at ) gmail dot com ],
2007-01-03 06:09:37
#
-
RE: Mailing Through SMTP Service
[ Reply ]
relay error,i have created a domain, then this problem solved but thatmail can not reach at recepient
anil [ anilbanjare ( at ) jvi-global dot com ],
2007-01-11 23:04:59
#
-
STARTTLS
[ Reply ]
Initially I got exception as 'Must issue STARTTLS commond first' When I issued STARTTLS Commond, I get message as 'SMTP server ready' But Problem comes when I try to send mail . MAIL FROM : <deepsfor.net@gmail.com>, I am just not getting any response code. Its Zero which is very wrong. Could you please help me out to figure the problem?? I am using my Internet Service providers outgoing mail server.
Thank you
deeps [ deepsfor dot net ( at ) gmail dot com ],
2005-01-14 15:42:52
#
-
Stripping Digital Signatures
[ Reply ]
Hello,
What is the possibility of stripping digital signatures prior to sending them over to the mail relay servers?
Any help is greatly appreciated.
Kathy [ katdching ( at ) yahoo dot com ],
2005-06-23 20:57:44
#
-
"Relay Denied" but no match for outlook!
[ Reply ]
No errors (with the authentication to the smtp server etc etc) but still all I get is the "Relay Denied" response. Outlook express does manage to send the same email through the same smtp server using the same settings though !
How is this possible ? What's the difference between using outlook and system.web.mail code ?
thanx
dimitris [ dimitris ( at ) dpant dot com ],
2005-09-17 00:50:32
#
-
RE: "Relay Denied" but no match for outlook!
[ Reply ]
sending it thru code uses the SMTP virtual server in IIS
when you are using outlook it uses a single threaded MAPI to send the mail
you need to be able to relay mail to use the coded way
xarfox [ pc411support ( at ) comcast dot net ],
2006-02-23 12:34:13
#
-
System.Web.Mail Problems
[ Reply ]
Hi,
I am using the old version to send mail.
My code is as follows:
Try Dim objMessage As New MailMessage() objMessage.From = fromID objMessage.To = toID objMessage.Subject = subject objMessage.Body = body If format = 0 Then objMessage.BodyFormat = MailFormat.Text Else objMessage.BodyFormat = MailFormat.Html End If SmtpMail.Send(objMessage) SendMail = "Sent" Catch e As Exception If e.Message.ToString = "Could_not_access_cdo_newmail_object" Then strErrorMessage = "Failed. Mail server was not available. Please try again" Else strErrorMessage = "Failed. " + e.ToString() + "." SendMail = strErrorMessage End If End Try
The problem is that I get no error messages and the code runs smoothly, but when I check my inbox, I don't see the new mail. I have also set relay access to ip 127.0.0.1
Neil [ neil dot karia ( at ) rogers dot com ],
2006-02-24 18:35:06
#
-
relay error?
[ Reply ]
I have a email server (qmail). When i try to send email's to another email adress i got no error but the destination email recive the mail after verry long period of time (4 hours for example). When i send a email to a pnl.ro adress (x@pnl.ro, mail.pnl.ro is the smtp server, also de pop3) i get the message verry soon. Can someone help me?
Thank you.
Razvan [ admin dot it ( at ) pnl dot ro ],
2006-06-16 01:00:43
#
-
Sending Mail thro outlook express
[ Reply ]
hi friends,
i have an application, in this i need to send mail to some persons but i have send mail only thro outlook express in asp.net code. can tell me how to use outlook express in asp.net code to send mail. Please.
Thanks.
aaraaayen [ sangeetha ( at ) visiontss dot com ],
2006-07-09 22:27:19
#
-
unable to send email
[ Reply ]
I have configured the smtp server(local host). am trying to send email from an vb.net application. No error message is generated. i could know that mails are being queued up in the \inetpub\mailroot\queue. am unable to figure out what the problem might be. Please suggest. Thanks
sam [ suha_in ( at ) rediffmail dot com ],
2006-07-19 07:55:00
#
-
RE: unable to send email
[ Reply ]
The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay
Xola [ monakalx ( at ) dot dot gov dot za ],
2006-09-15 07:16:07
#
-
looking for a free relay email server
[ Reply ]
Hi everyone. i am looking for a free relay email server, i need it for a good purpose, if anyone can tell me, plz let me know. take care of your selves bye
sohail [ sohail_ishaque2003 ( at ) yahoo dot com ],
2006-07-19 21:41:27
#
-
Problem in relaying mail
[ Reply ]
I m using ASP 2.0. I have written a code for sending mail which is running without any exception. However my mails are coming into drop directory but from there they are not going to pickup directory and hence unable to send messages to receipents. My code is as belows
try {
SmtpClient cl = new SmtpClient(); cl.Host = "http://www.cil-ts.com";
MailAddress from = new MailAddress("support@cil-ts.com"); MailAddress to = new MailAddress("support@cil-ts.com");
MailMessage msg = new MailMessage(from, to);
msg.Subject = "Test Mail"; msg.Body = "This is a test mail";
cl.Send(msg); Response.Write("You mail has been sent successfully"); } catch (Exception ex) { Response.Write(ex.Message); Response.Write(ex.GetType()); }
CIL [ support ( at ) cil-ts dot com ],
2007-02-18 23:11:45
#
-
replay server for webcast
[ Reply ]
Can I use the replay server to send video steam, as as using it for webcasting to multiples users. Thanks
Michelle [ michelle dot nuyen ( at ) pmintl dot com ],
2008-06-20 09:08:46
#
|