473,662 Members | 2,382 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sending a notification email...

Hello,

I am able to make a contact form for my site no problem--it works great.

However, I am making a contact form so that customers can reach other
members who have registered on my site. The problem I am running into is
this, when the SmptClient.Send tries to send to an email address not on my
mail server I get this message:

"System.Net.Mai l.SmtpFailedRec ipientException : Mailbox unavailable. The
server response was: No such user here at
System.Net.Mail .SmtpTransport. SendMail(MailAd dress sender,
MailAddressColl ection recipients, String deliveryNotify,
SmtpFailedRecip ientException& exception) at System.Net.Mail .SmtpClient.Sen d
(MailMessage message) at ContactWriter.S endEmail() in..."

I know that there has to be a way to do this without adding people email
addresses to my server because when I've run a message board I was able to
have members notified when they got a reply to an email.

Why is this not working, what am I missing?

Thanks!
Mark
--
Only the Best Freeware at http://www.vbmark.com
Nov 19 '06 #1
1 4304
You may have to supply one of the authentication modes:

http://sholliday.spaces.live.com/blog/
Smarter Email/Smtp setup with DotNet Configuration Sections (1.1 and 2.0)
2/8/2006
Are you saying that you're supplying a different "From" address, then you
own?

Please describe the issue in detail, not just the exception message.

"vbMark" <no@email.comwr ote in message
news:Xn******** ************@19 9.45.49.11...
Hello,

I am able to make a contact form for my site no problem--it works great.

However, I am making a contact form so that customers can reach other
members who have registered on my site. The problem I am running into is
this, when the SmptClient.Send tries to send to an email address not on my
mail server I get this message:

"System.Net.Mai l.SmtpFailedRec ipientException : Mailbox unavailable. The
server response was: No such user here at
System.Net.Mail .SmtpTransport. SendMail(MailAd dress sender,
MailAddressColl ection recipients, String deliveryNotify,
SmtpFailedRecip ientException& exception) at
System.Net.Mail .SmtpClient.Sen d
(MailMessage message) at ContactWriter.S endEmail() in..."

I know that there has to be a way to do this without adding people email
addresses to my server because when I've run a message board I was able to
have members notified when they got a reply to an email.

Why is this not working, what am I missing?

Thanks!
Mark
--
Only the Best Freeware at http://www.vbmark.com


Nov 20 '06 #2

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

Similar topics

2
2503
by: Grady | last post by:
Help. I need to create a simple database that tracks equipment arrivals (and departures) at my facility. What I want is to create a simple form, which the receptionist could fill out, every time someone delivers something at the front door. The form would simply have a place to put the time/date, delivery method, addressee, and a brief description. Once the receptionist filled it out and hit enter it would create a new record and then...
1
2155
by: Rene Aguirre | last post by:
Hello, I'd like to make a sort of web tracking system for internal stuff at my office. But I'm having problems about how to add email notification to my script. I already tried to send email by using the 'email' module, with no success (the connection can't be stablished). I think my case is a very specific enviroment (may be very common):
1
2045
by: Bill | last post by:
Is it possible to somehow alter a field in a mysql database by sending an email to the server? I have a script that sends out notification emails to an individual. He wants to receive them continuously until he decides he has seen enough of them. Then to stop receiving the emails he has to use his browser and go to the web page that is sending him the emails where he clicks a button that alters a field in a database that acts as a flag....
4
1421
by: Reidar | last post by:
I am trying to send web email in vs2005, but haven't succeeded so far. I found an example in C# to make a Console application. The top of the code is using System; using System.Web.Mail; I have added a reference System.Web. When I run the code I get warnings saying that System.Web.MailMessage is 'obsolete'. Alternative is System.Net.Mail.MailMessage When I change the System.Web.Mail to System.Net.Mail, I can't find any
8
2482
by: Mike Owen | last post by:
Hi, I am using the following code to send email on a Windows 2003 Web Server: Imports System.Net.Mail ........ Dim msgmail As New MailMessage msgmail.To.Add(New MailAddress(objMember.EmailAddress)) msgmail.From = New
2
1870
by: RAB | last post by:
I have a .aspx page with the following code: <% @Import Namespace="System.Web.Mail" %> <%@ page language="vb" debug="true" runat="server" %> <script runat="server"> Sub Click(sender as Object, e as EventArgs) 'Create an instance of the MailMessage class
2
1847
by: Smithers | last post by:
I have a service that will periodically send email messages to system adminstrators. I would like for this service to send a email notification whenever the service is started and when it is stopped. I placed attempted to do that from the OnStart event procedure... but any messages sent during the OnStart procedure are not sent. But when the service is stopped, the email messages from both the OnStart and OnStop event procedure are sent. ...
4
2394
by: =?Utf-8?B?R3V5IENvaGVu?= | last post by:
Hi all I use: Dim message As New MailMessage(txtTo.Text, txtFrom.Text, txtSubject.Text, txtBody.Text) Dim emailClient As New SmtpClient(txtSMTPServer.Text) emailClient.Send(message) And its working fine. However I was wondering if there is a way to confirm that the email was sent. The send method does not return anything....
1
2286
by: Mel via AccessMonster.com | last post by:
I have four people on my email list. I want to send one email each of the four people with a list of accounts over due, embodied within the email. So, for instance, jeff will be sent an email that shows in the body of the email all of his accounts that are over due: account #1 ABC Inc past due on 3/12/2008 Account #2 DEF inc past due on 4/1/2008
2
2520
by: Keith G Hicks | last post by:
I'm using the following code to send out email messages to a list of people in a database. My problem is that if I'm sending to 100 people and the 40th address is bad, it crashes on that one and doesn't run the rest. I want to log the one that crashed so I can display it to the user and then continue sending to the remaining people in the list. If an address is bad, the error occurs here: EmailMsg.To.Add(New MailAddress(RecipientEmail,...
0
8432
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8856
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8545
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7365
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2762
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1992
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1747
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.