Sponsored by
www.aspnetemail.com
|
 |
Discuss This FAQ Item
Got a question? Another Suggestion? Want to post your solution? Discuss it below.
-
How to know I have the premission to realay through server ?
[ Reply ]
I am getting following error. 4.3.2 [COMException (0x8004020f): The server rejected one or more recipient addresses."]
Now how would I know that the application have the permission to relay through server, as suggested in http://www.systemwebmail.com/faq/4.3.2.aspx#4.3.2
Thanks,
Bilal [ bilalshahid13 ( at ) yahoo dot com ],
2004-02-21 23:30:48
#
-
RE: How to know I have the premission to realay through server ?
[ Reply ]
I had a similar problem..
The key seems to be if you specify a "server" in the system.web.mail.smtpmail object, you are acutaly specifying "another" smtp server. I tried using Localhost and a the PC name and all that failed
when I used and empty string.. IT WORKED!!
i.e. Dim x As New Web.Mail.MailMessage x.Body = "test" x.To = "rlynch99@hotmail.com" x.Subject = "test of SMTP mail" x.From = "me@nospam.com"
Dim y As Mail.SmtpMail y.SmtpServer = "" y.Send(x) x = Nothing y = Nothing Response.Write("sent")
HTH
Rob
PS Underdocumented and what there is is confusing enough to cause you to have a problme.
Rob Lynch [ rob ( at ) rob-lynch dot com ],
2004-05-01 05:40:47
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
GREAT POST! I've been trying all day to find a fix for this stupid problem and I just tried a test with the SMTPServer="" and it works like a charm. Thanks!
Jay [ jaybuys ( at ) rochester dot rr dot com ],
2005-03-14 14:39:17
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Thanks! Superb! Wonderful!
Mark [ mark ( at ) therota dot com ],
2005-03-24 06:53:58
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Genius.... thanks
Trystan [ trystan_clarke ( at ) hotmail dot com ],
2005-05-06 08:29:07
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
I try your technique,but it didnot work.It still tells me that : The server rejected one or more recipient addresses.
jedliu [ jedliu ( at ) sohu dot com ],
2005-06-21 00:14:22
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Thank you. Thank You. I am on my knees bowing, trust me.
Matt [ mrink1074 ( at ) yahoo dot com ],
2005-11-04 17:44:10
#
-
RE: RE RE: How to know I have the premission to realay through server ?
[ Reply ]
How to send mail by using smtp server I got following error
System.Web.HttpException: The server rejected one or more recipient addresses. The server response was: 554 http://www.barracudanetworks.com/reputation/?pr=1&ip=115.118.238.115">http://www.barracudanetworks.com/reputation/?pr=1&ip=115.118.238.115 ---> 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: 554 http://www.barracudanetworks.com/reputation/?pr=1&ip=115.118.238.115">http://www.barracudanetworks.com/reputation/?pr=1&ip=115.118.238.115
--- 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 bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture) at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Type type, Object obj, String methodName, Object[] args) at System.Web.Mail.SmtpMail.LateBoundAccessHelper.CallMethod(Object obj, String methodName, Object[] args) --- End of inner exception stack trace --- 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 Mailsend.mailsender(String From, String TO, String Subject, String Body) give solution
krishna [ krishnatech09 ( at ) gmail dot com ],
2009-09-26 05:17:30
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
GREAT MAN~...THANKS!! It worked for me ...I've been working hard to set this up..but with no hope..Again thanks to you !
CHEERS>>
Jigar Joshi [ jigar136 ( at ) gmail dot com ],
2005-11-07 22:30:10
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
GREAT MAN~...THANKS!! It worked for me ...I've been working hard to set this up..but with no hope..Again thanks to you !
CHEERS>>
Jigar Joshi [ jigar136 ( at ) gmail dot com ],
2005-11-07 22:34:46
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Thanks. As the others... I have been trying for quite a while to figure out what was wrong. The empty string trick did it.
Thanks a million. Jacob.
Jacob [ jacob ( at ) placemark dot dk ],
2005-11-11 02:34:14
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
salut! merci mille fois! thanks for this .. you're a life saver ...
romeo.macapobre [ romeo dot macapobre ( at ) gmail dot com ],
2006-01-21 03:45:45
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
That really helped me alot Thanks a lot dude
Ahmed [ sharaf_3383 ( at ) hotnail dot com ],
2006-06-01 05:03:28
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Thanks a lot It worked : )
.netdeveloper [ i dot netdeveloper ( at ) gmail dot com ],
2006-06-01 13:01:42
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
I am also getting same error
System.Web.Mail.MailMessage mail=new System.Web.Mail.MailMessage(); mail.To="mymail@gmail.com"; mail.From="mymail@photontelecoms.com"; mail.Subject="test"; mail.Body="Hello"; System.Web.Mail.SmtpMail.SmtpServer="localhost"; System.Web.Mail.SmtpMail.Send(mail);
I am getting following error. 4.3.2 [COMException (0x8004020f): The server rejected one or more recipient addresses."]
Sudhakar [ sudhakar_jana ( at ) yahoo dot co dot in ],
2006-06-09 04:46:21
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Great Job! That's also what I am digging about.
Andy [ andylee ( at ) izthinking dot com ],
2006-07-22 21:39:10
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Thank's. You helped me a lot.
Nikola [ niksa517 ( at ) yahoo dot com ],
2006-08-26 18:48:23
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Man what was surprising! .. it worked perfect :)
thankyou i was breaking my head for some time on this ...
joseph [ jos_anto ( at ) hotmail dot com ],
2006-08-28 05:30:57
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
I have to say: u r the genius in a genius
qiuwei [ hu dot qiuwei ( at ) gmail dot com ],
2006-10-05 14:15:00
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
great it works for me
amina [ replyamina ( at ) gmail dot com ],
2006-10-20 06:30:40
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Really Great!!!! But i do want to know how this simple statement SmtpMail.SmtpServer = "" works
Krithiha [ krithiha_s ( at ) yahoo dot com ],
2006-10-31 01:41:10
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Great!!! lots of thanks
Barnali Adhikari [ barnali ( at ) atsi-technology dot com ],
2006-11-28 03:07:02
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
I am using the above code ie y.smtpserver="" but it is showing the message that the server is required
Harshwardhan K Kulkarni [ harsh1 dot k ( at ) rediffmail dot com ],
2007-02-19 02:35:50
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Hello. it wont show you the error thats all. It wont send the mail.
Sorna [ sorna dot ma2000 ( at ) gmail dot com ],
2007-02-20 21:40:26
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
permissions to relay through the server.
Goldy [ gldybw ( at ) yahoo dot co dot in ],
2007-11-02 05:33:48
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
thanx a lot......It works perfect by maiking smtpserver="";
amit [ aarsh dot thakur ( at ) hotmail dot com ],
2009-05-14 06:52:57
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Please, tell me solution for COMException (0x8004020f): The server rejected one or more recipient addresses."
rituraj [ rituraj dot 786rr ( at ) gmail dot com ],
2010-01-06 01:07:52
#
-
RE: How to know I have the premission to realay through server ?
[ Reply ]
Hi, I have a problem emailing to any email address that is external to my company. If 'from' and 'to' are set to company addresses there is no problem otherwise if the 'to' is set to another email account server relaying is prohibited. what needs to be changed to correct this?
tonya [ tonya_mcmorrow ( at ) hotmail dot com ],
2004-05-31 07:27:18
#
-
RE: How to know I have the premission to realay through server ?
[ Reply ]
Actually this is the SMTP Sever Setting problem. I had this problem before, and just figured out how to fix this. Here are the steps:
1. Open IIS window which you can find by doing start->control panel->Administrive Tools->Internet Information Services
2. go to (local computer) -> Default SMTP Virtual Server, right click on it and open the properties window.
3. go to Access tab and click on Relay... button and Relay Restrictions window pops up. Check the "All except the list below" option, and before click OK, make sure that the bottom checkbox is also checked. Then click OK to exit.
I think this will do the trick. I hope this could help you. It sure worked for me. Good luck.
Sharon [ cicoraxi ( at ) yahoo dot com ],
2004-10-24 23:56:01
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
That's the best solution, thanks
Lento Mx [ lentomx ( at ) hotmail dot com ],
2005-05-06 10:07:11
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
This solution worked for me. Thanks
Manisha [ mrsmanisha ( at ) hotmail dot com ],
2005-06-03 10:31:28
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
you rock. that helped a LOT.
abe [ indianbrain1988 ( at ) gmail dot com ],
2005-06-15 09:20:21
#
-
RE: RE RE: How to know I have the premission to realay through server ?
[ Reply ]
This worked for me too thanks. I had to first add the following line of code....
SmtpMail.SmtpServer = "the_machine_IP_Address_here"
Then I changed the Default SMTP Virtual Server under IIS as mentioned above and it worked. Thanks a lot :)
Robert [ robparr ( at ) hotmail dot com ],
2005-06-29 02:21:35
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Thanx A lot...........
This Worked..................
With Regards Balasubramanian.R
Balasubramanian.R [ indianbala1947 ( at ) gmail dot com ],
2005-07-04 23:56:54
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Thank u Sharon it worked for me.........
Avdhesh [ raptor dot 82 ( at ) gmail dot com ],
2005-09-18 16:18:51
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Thanks a lot sharon. It worked for me, I had been struggling a lot to fix this problem. Thanks a ton.
Lavanya [ lav_uday ( at ) yahoo dot com ],
2006-02-13 10:10:29
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
seems promising
narmada [ chnarmada ( at ) yahoo dot com ],
2006-02-27 09:02:43
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Thnx, your idea woks for me after 5 hours headac. thanks a lot
Neeraj_kulsh [ neeraj_kulsh ( at ) yahoo dot com ],
2006-04-06 06:11:24
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
thanks Sharon. It worked for me tooo.
:-)
Manikandan [ demane ( at ) rediffmail dot com ],
2006-11-17 03:46:51
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Ya . It worked for me but the message is sent to reciepents bulk folder.
Please guide me yar....
thanks in advance
manikandan [ demane ( at ) rediffmail dot com ],
2006-11-17 03:48:31
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
That was really great. Solved my problem.
Thanks.
Ashfaq Chougle [ achougle ( at ) tandoninfo dot com ],
2007-03-26 05:42:02
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Thank you very much. It solved my problem.
Tahir [ tahir_hemani ( at ) hotmail dot com ],
2007-07-20 13:04:17
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Great ! It worked.
Pintu [ pintu ( at ) gmail dot com ],
2007-09-01 01:25:09
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Actually this is the SMTP Sever Setting problem. I had this problem before, and just figured out how to fix this. Here are the steps:
1. Open IIS window which you can find by doing start->control panel->Administrive Tools->Internet Information Services
2. go to (local computer) -> Default SMTP Virtual Server, right click on it and open the properties window.
3. go to Access tab and click on Relay... button and Relay Restrictions window pops up. Check the "All except the list below" option, and before click OK, make sure that the bottom checkbox is also checked. Then click OK to exit.
I think this will do the trick. I hope this could help you. It sure worked for me. Good luck.
THANX BOSS IT WORKS FOR ME :)
NIYAZ [ niyazahmed4 ( at ) gmail dot com ],
2010-11-23 01:52:54
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
Actually this is the SMTP Sever Setting problem. I had this problem before, and just figured out how to fix this. Here are the steps:
1. Open IIS window which you can find by doing start->control panel->Administrive Tools->Internet Information Services
2. go to (local computer) -> Default SMTP Virtual Server, right click on it and open the properties window.
3. go to Access tab and click on Relay... button and Relay Restrictions window pops up. Check the "All except the list below" option, and before click OK, make sure that the bottom checkbox is also checked. Then click OK to exit.
I think this will do the trick. I hope this could help you. It sure worked for me. Good luck.
THANX BOSS IT WORKS FOR ME :)
NIYAZ [ niyazahmed4 ( at ) gmail dot com ],
2010-11-23 01:53:38
#
-
RE: How to know I have the premission to realay through server ?
[ Reply ]
Follow the steps: --Open Control Panel --Administrative Tools --Computer Management --Services and Applications --Internet Information Services
Right click on Default SMTP Virtual Server Select properties Select tab Access Then click on Relay button Here u can give relay restiction
Bye al d best...
Sonal [ sonal_so_lucky ( at ) yahoo dot co dot in ],
2005-05-05 01:11:43
#
-
RE: How to know I have the premission to realay through server ?
[ Reply ]
The Server rejected one or more recipient addresses. The server response was : 550 5.7.1 unable to reply for mymail@mail.com
Venu [ kalyan_kumar_143 ( at ) yahoo dot com ],
2005-10-18 06:20:37
#
-
RE: How to know I have the premission to realay through server ?
[ Reply ]
work on one computer with server name but not work on the other with same parameters
nir [ nsegal ( at ) 013 dot net ],
2005-10-22 05:30:18
#
-
RE: How to know I have the premission to realay through server ?
[ Reply ]
RE: How to know I have the premission to realay through server ?
rakesh [ tracerakesh ( at ) yahoo dot co dot in ],
2005-12-29 04:05:02
#
-
RE: How to know I have the premission to realay through server ?
[ Reply ]
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: 554 :Relay access denied
i even tried all the possible ways to solve the above issue. getting the same exception.
there was first solution provided that entering smtpserver="" - i can't go for this option, becuase this will allow all users apart from registered users.
Anyone knows...to solve this issue..
JaInnov [ venkat ( at ) xyka dot com ],
2007-04-12 04:59:58
#
-
RE: How to know I have the premission to realay through server ?
[ Reply ]
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: 554 :Relay access denied
Anyone knows..how to solve the issue..
JaInnov [ venkat ( at ) xyka dot com ],
2007-04-12 05:03:58
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
The message could not be sent because one of the recipients was rejected by the server. The rejected e-mail address was 'person2t@verizon.net'. Subject 'Fw: Clear explanation of situation', Account: 'incoming.verizon.net', Server: 'outgoing.verizon.net', Protocol: SMTP, Server Response: '550 4.2.1 mailbox temporarily disabled: person2t@verizon.net', Port: 25, Secure(SSL): No, Server Error: 550, Error Number: 0x800CCC79 Can you give me step-by-step how I can delete this error message. Thank you
Andy [ circanet ( at ) verizon dot net ],
2008-01-21 08:18:23
#
-
RE RE: How to know I have the premission to realay through server ?
[ Reply ]
hi,, i am facing some problrem for sending mail c# code. MailMessage msg = new MailMessage(); msg.To = x.z@x.com; msg.From = x.s@k.com; msg.Subject = "Test message"; msg.Body = "Body of the message"; try { SmtpMail.SmtpServer = "smtp.x.com"; SmtpMail.Send(msg); } catch (HttpException ex) { Response.Write("HTTP Error: " + ex.ToString()); } catch (Exception ex) { Response.Write("Error: " + ex.ToString()); } but show error......... HTTP 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: 550 5.7.1 Unable to relay for ......... how can solve his prolblem plz help me......
mallick [ mallick dot kue ( at ) gmail dot com ],
2008-09-29 22:22:36
#
-
Thanks!
[ Reply ]
This worked, thank you!
Chris [ chris ( at ) yahoo dot com ],
2004-09-08 13:30:28
#
-
RE: Thanks!
[ Reply ]
dudes, unfortunately this doesn't work for me...
Any other suggestions?
Chris [ ccools ( at ) gmail dot com ],
2005-04-26 11:04:16
#
-
RE: Thanks!
[ Reply ]
thks
jeffrey [ jeffrey_adp ( at ) yahoo dot com ],
2006-06-19 14:24:15
#
-
RE: Thanks!
[ Reply ]
thks
jeffrey [ jeffrey_adp ( at ) yahoo dot com ],
2006-06-20 06:24:00
#
-
recipient rejects error mssg.
[ Reply ]
I cannot get rid of an email pop=up that says:
Server rejected Recipient"
How do I get rid of this pop up which appears each time I open my desktop. I know I spelled the recipient's name wrong and that is why the problem was created.
But how do I get rid of the pop up PLEASE!!!
al [ aleaton ( at ) telus dot net ],
2004-10-17 17:43:44
#
-
server response was: 550 5.7.1
[ Reply ]
hi, i m getting COMException (0x8004020f) with the msg The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for bye
peacedove [ mepeacedove ( at ) hotmail dot com ],
2005-02-06 00:51:11
#
-
RE: server response was: 550 5.7.1
[ Reply ]
I am using SMTP Server from my local machine. below code worked fine
strSmtpServer = "" SmtpMail.SmtpServer = strSmtpServer.ToString SmtpMail.Send(itsMailObject)
Sachin [ sachincp ( at ) rediffmail dot com ],
2007-02-08 12:13:47
#
-
RE: server response was: 550 5.7.1
[ Reply ]
i have this error : The server rejected one or more recipient addresses. The server response was: 550 5.7.1 <test@gmail.com>... Relaying denied. IP name lookup failed [ip]
mam [ mam dot sharifi ( at ) gmail dot com ],
2007-02-26 00:41:42
#
-
Ans: to the question ...how to know the relay restictions...
[ Reply ]
Follow the steps: --control panel --administrative tools --computer management --services and applications --internent information services Right click on Default SMTP Virtual Server Select properties Select tab Access Click on Relay button
Here u can set the relay restrictions..
Bye al d best
sonal [ sonal_so_lucky ( at ) yahoo dot co dot in ],
2005-05-05 01:16:10
#
-
Soln:::Set Permission through Relay Server
[ Reply ]
Follow the steps: --control panel --administrative tools --computer management --services and applications --internent information services Right click on Default SMTP Virtual Server Select properties Select tab Access Click on Relay button
Here u can set the relay restrictions..
Bye al d best
Sonal [ sonal_so_lucky ( at ) yahoo dot co dot in ],
2005-05-05 01:40:11
#
-
System.Runtime.InteropServices.COMException (0x8004020F): The server rejected one or more recipient addresses. The server response was: 503 This mail server requires authentication. Please check your mail client settings
[ Reply ]
while working this code from my local machine it works fine.i had done all settings.
but when it goes to web it gives me error.
but mail are going for the same domain account
do i need change settings in web server
MailMessage Msg = new MailMessage();
Msg.To =TxtTo.Text; Msg.From=TxtFrom.Text;
Msg.Subject="Test Mail confirmation";
Msg.Body=TxtMsg.Text;
Msg.BodyFormat=MailFormat.Text;
Msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate","1");
Msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername","admin@name.org");
Msg.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword","pwd");
SmtpMail.SmtpServer ="";
SmtpMail.Send(Msg);
error i got when i put this code in the web server.
System.Runtime.InteropServices.COMException (0x8004020F): The server rejected one or more recipient addresses. The server response was: 503 This mail server requires authentication. Please check your mail client settings.
juneboy6 [ juneboy6 ( at ) gmail dot com ],
2005-10-04 23:55:33
#
-
Send fax
[ Reply ]
I try to send a message to a fax machine from a c#-program, but my to-address syntax is rejected.
If I use [Fax: fax#] in the to-field I get a parsing address error. If I try an address like <fax#>@mydomain.com it says that this address does not exist.
Is there a way to send a fax using System.Net.Mail ?
Thanks for any help. EMK
Else Marie [ kvitepus ( at ) yahoo dot com ],
2006-03-29 00:49:36
#
-
To find Failed Receipient Email IDs
[ Reply ]
In VS.NET 2005, While sending Mails through SMTP Server, There is an option to find the Failed Recipient Email Ids by System.Net.Mail.SmtpFailedRecipientException. It is possible in VS.NET 2005 by System.Net.Mail namespace. If we need to find the Failed Recipient Email Ids in VS.NET 2003 By using System.web.Mail namespace, what to do ? .How to find Failed Recipient Email Ids ?
Nataraj [ pcnataraj ( at ) rediffmail dot com ],
2006-06-27 02:48:22
#
-
The server response was: 503 This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this serv
[ Reply ]
The server response was: 503 This mail server requires authentication when attempting to send to a non-local e-mail address. Please check your mail client settings or contact your administrator to verify that the domain or address is defined for this server.
how to solvethe problem.
seshu [ sesha_siddhu ( at ) yahoo dot com ],
2006-09-02 00:24:08
#
-
[COMException (0x8004020f): mail are not sent
[ Reply ]
Here are the codes:
var Conn = Server.CreateObject("ADODB.Connection"); var reportName = form.Item("fileName").Value; Conn.Open("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("../admin/db/login.mdb")); var rsEmail = Server.CreateObject("ADODB.Recordset"); rsEmail.Open("SELECT email FROM tbl", Conn, adOpenForwardOnly, adLockReadOnly, adCmdText); while(!rsEmail.EOF) { var objMessage = Server.CreateObject("CDO.Message"); var config = Server.CreateObject("CDO.Configuration"); var mailserver = "smtp.x.x.x"; objMessage.Configuration = config; objMessage.From = "message"; objMessage.To = rsEmail.Fields.Item("email").Value; objMessage.Subject = "subject"; objMessage.TextBody = "text"; objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/sendusing")= 2; objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver")= mailserver; objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport")= 25; objMessage.Configuration.Fields.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60; objMessage.Configuration.Fields.Update(); objMessage.Send();
rsEmail.MoveNext(); } rsEmail.Close(); Conn.Close();
im having problem at objMessage.Send() anyone can help me with this problem?
Shukri Rahman [ efseeyoukay ( at ) yahoo dot co dot uk ],
2006-12-07 20:23:56
#
-
RE: [COMException (0x8004020f): mail are not sent
[ Reply ]
hello boss, this my email codding "MailMessage mailmessage=new MailMessage(); mailmessage.To =this.txtto .Text; mailmessage.From =this.txtfrom .Text; mailmessage.Subject =this.txtsubject .Text ; mailmessage.BodyFormat=MailFormat.Text; mailmessage.Body =this.txtcomment .Text ; mailmessage.Priority=MailPriority.Normal; try { SmtpMail.SmtpServer="http://www.infoworldforyou.com"; SmtpMail.Send(mailmessage); Response.Write("Your Email has been sent sucessfully Thank You"); } catch (Exception exc) { Response.Write("Send failure: " + exc.ToString()); } but when i deploy it on server and send an email it give an error"The server response was: 503 " and ".COMException (0x8004020F): " Pls suggest me where i do mistake
Ramesh Verma [ verma_ramesh2002 ( at ) yahoo dot co dot in ],
2007-05-04 09:12:24
#
-
Problem with email
[ Reply ]
I have changed the smtp server relay properties still mail is not sent can any one help?? I get the message as mail sent . but it is not received??
Rajha Rajesuwari [ rajeswari ( at ) kreativpixel dot com ],
2007-02-02 22:02:06
#
-
illegal characters
[ Reply ]
I'm getting :(0x8004020F): The server rejected one or more recipient addresses. The server response was: 508 Illegal character in address. For addresses like Terry_O'Dell@test.com. Any suggestions??
Sandy Goodwin [ sandy_goodwin ( at ) skillsoft dot com ],
2007-02-22 12:49:27
#
-
The server response was: 550 5.7.1
[ Reply ]
i have this error : The server rejected one or more recipient addresses. The server response was: 550 5.7.1 <test@gmail.com>... Relaying denied. IP name lookup failed [ip]
mam [ mam dot sharifi ( at ) gmail dot com ],
2007-02-26 00:51:55
#
-
send mails throgh a trigger
[ Reply ]
I had tried using stored procedure 'sp_senddbmail' in msdb database . Its wiorking fine. But there is no facility to set 'From' email Id. Can anybody tell me how to set it. Thanks in advance. Regards, Poonam
Poonam [ poonam_patil ( at ) hotamil dot com ],
2007-05-28 04:07:16
#
-
error in sending email in asp.net
[ Reply ]
I have changed the smtp server relay properties still mail is not sent can any one help?? I get the message as mail sent . but it is not received??
Anuradha [ anuradhap ( at ) hcl dot in ],
2007-09-21 04:47:43
#
-
i dont know what to do. plz help
[ Reply ]
i am designing a for in aspvbscript. but when i click submit button this error appears Error Type: (0x8004020F) The event class for this subscription is in an invalid partition /adnan/sendmail.asp, line 59
adnananwar [ madnankhan1986 ( at ) yahoo dot com ],
2008-01-01 14:56:45
#
-
Sending Email: but Unable to recieve mail
[ Reply ]
i am trying to send message. No error but unable to receive mail.
shweta [ shweta_aro ( at ) yahoo dot com ],
2008-12-28 10:29:06
#
-
The server rejected one or more recipient addresses. The server response was: 554 5.7.1 : Relay access denied
[ Reply ]
try SmtpMail.SmtpServer = "localhost"; it worked for me
rajesh [ waghela dot rajeshm ( at ) gmail dot com ],
2009-05-15 02:53:47
#
|