473,461 Members | 1,505 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem Sending email form web form

While trying to send an email using the .net mail class I get this error:

"The server rejected one or more recipient addresses. The server response
was: 553 sorry, you have not authenticated for relay and <em***@domain.net>
is not a local address.(#5.7.1) "

Is there anything I can do to avoid this?

Thanks, Justin.
Nov 19 '05 #1
3 1103
Hi,

The problem may be with the SMTP Server settings you did in your code

Jerome. M

"Justin" wrote:
While trying to send an email using the .net mail class I get this error:

"The server rejected one or more recipient addresses. The server response
was: 553 sorry, you have not authenticated for relay and <em***@domain.net>
is not a local address.(#5.7.1) "

Is there anything I can do to avoid this?

Thanks, Justin.

Nov 19 '05 #2
Hi Justin,

From the problem you described I guess your SMTP server requires
authentication
before you can send email using the SMTP server.
Some SMTP servers need authentication to restrict/authorize usage of the
SMTP server
Hence you will have to add code for authentication with the SMTP server
before you cans end a mail.

I havent ever done that but searching a bit on google i came up with this
link

http://blogs.wwwcoder.com/pradeepd/a...01/28/236.aspx

see if this is of any use to you.

Thanks

*****************************
Shaun, M.C.P (70-315)
http://blogs.wwwcoder.com/shaunakp
*****************************

"Justin" wrote:
While trying to send an email using the .net mail class I get this error:

"The server rejected one or more recipient addresses. The server response
was: 553 sorry, you have not authenticated for relay and <em***@domain.net>
is not a local address.(#5.7.1) "

Is there anything I can do to avoid this?

Thanks, Justin.

Nov 19 '05 #3
Here is one more link :)

http://www.codeproject.com/dotnet/SM...entication.asp

*****************************
Shaun, M.C.P (70-315)
http://blogs.wwwcoder.com/shaunakp
*****************************

"Shaun" wrote:
Hi Justin,

From the problem you described I guess your SMTP server requires
authentication
before you can send email using the SMTP server.
Some SMTP servers need authentication to restrict/authorize usage of the
SMTP server
Hence you will have to add code for authentication with the SMTP server
before you cans end a mail.

I havent ever done that but searching a bit on google i came up with this
link

http://blogs.wwwcoder.com/pradeepd/a...01/28/236.aspx

see if this is of any use to you.

Thanks

*****************************
Shaun, M.C.P (70-315)
http://blogs.wwwcoder.com/shaunakp
*****************************

"Justin" wrote:
While trying to send an email using the .net mail class I get this error:

"The server rejected one or more recipient addresses. The server response
was: 553 sorry, you have not authenticated for relay and <em***@domain.net>
is not a local address.(#5.7.1) "

Is there anything I can do to avoid this?

Thanks, Justin.

Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: TekWiz | last post by:
I've got a system that automatically generates a form. I have it set up so that the backend will return to the inital form page with an error object in sessions data (assuming the backend detected...
2
by: Kingdom | last post by:
I have a SelectBoxes.asp page that is working with multiple selection dropdown boxes to extract data and total the selection prices. Tom & Bob were kind enough to give me a big help getting this...
5
by: BaWork | last post by:
I have a web form where a client can select which site members to send an email to. This form is populated from the contents of the member table, so the form can have 0-x names listed on it...
5
by: Neil McDermott | last post by:
Hello, I hope someone can help. I use a php form to process contact forms on my web sites. Recently I have been receiving lots of strange data coming through the contact forms like this : ...
5
by: Vishal | last post by:
Hello, I already asked this question in the ASP.NET forums, but no help came. So I am hoping that somebody can help me out. This is really very URGENT me. For my e-commerce application, I...
2
by: prasenjit2007 | last post by:
Hello, can u help me sending Email with attachments using the Class phpMailer. On the website I have a link to an html form in which I input the parameters with the names 1)from(textbox name)...
3
crystal2005
by: crystal2005 | last post by:
I found such eror message when i tried to test sending email. Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in...
28
tdw
by: tdw | last post by:
Hi all, I am trying to add a feature to our database that automates sending emails. When entering a new order, I want the option to send an email to the company the order came from, attaching a...
5
by: wktarin | last post by:
Hi. I'm a relative newcomer to the world of php, and I keep bumping into a problem with a mail () form. I need to send an automatic email to two addresses, but I can't seem to get it to work. One...
0
Dormilich
by: Dormilich | last post by:
this is a follow-up thread to this one. http://bytes.com/topic/html-css/answers/863662-form-not-submitted-sometimes I figured out that the mail sending class triggers the described error....
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.