473,624 Members | 2,245 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sending Email in vb .Net 2003 using SMTP Sever

15 New Member
Hai,
i am getting the following error

system.runtime. interopservices .COMException.T he server rejected one or more recipient addresses.The server responce was:553 sorry, relaying denied from your location[59.92.120.52](#5.7.1)

in sending email from client machine.i have refered their SMTP Server name and i have added that in SMTPServer access in relay option.whta is the problem here can any one help me pls.thanks in advance.
regards
pari
Feb 15 '08 #1
5 1748
kenobewan
4,871 Recognized Expert Specialist
Have you tried testing with your own email address?
Feb 15 '08 #2
Chrace
6 New Member
That's no .Net error though.

You need to allow relaying on your Exchange (or whatever mail server) for your IP address or LDAP login account.

"sorry, relaying denied from your location" should give you a hint there.
Feb 15 '08 #3
Plater
7,872 Recognized Expert Expert
That error message is frequently the result of not being authenticated with the SMTP Server you are using. It's in place to help prevent abuse.
Try supply valid login credentials and see if that solves the problem.
Feb 15 '08 #4
Engineer Intern
1 New Member
as a follow up, (and do excuse my coding ignorance): but how can I make my to field dynamic. I have multiple checkboxes and depending on what is selected different email address can be used. I tried using neseted IF statements but turned into an ugly mess. Please help!
Oct 17 '08 #5
Plater
7,872 Recognized Expert Expert
Well for the TO field you would want to have like:
user1@domain.co m; user2@domain.co m;

For every checkbox checked, add the username and a ";" to the TO field?
Oct 20 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1907
by: dave | last post by:
hi guys I m trying to execute few lines code tht i have copies from microsoft tech script centre. basically its to send email without using any smtp service. u can find the code snippet from following link. http://www.microsoft.com/technet/community/scriptcenter/en tscr/scrent16.mspx while executing this code in vbs file i was getting error:
13
3210
by: joe215 | last post by:
I want my users to send emails from a Windows app that I am developing in Visual Basic.NET 2003. I found a good example of sending email to a SMTP server using the SmtpMail class. However, using this, it seems, that the user must install IIS on their computer. Isn't there a class that will detect whatever mail server is available on a computer and use that? How do I create this functionality without having the user add any other...
4
1532
by: Jason Zhou | last post by:
Hi, I am new here, hope my question is not too stupid. I want to send out email from my application by using C#, I was told to use smtp, the sample code is very simple, I am using smtpmail.send(), the questions are: 1. What does the relationship between smtp and pop3? 2. I had impression that I need account and password for smtp, how come I
17
2887
by: Bonj | last post by:
Right guys. (I would like a solution to this in VB6 as this is what our needy app is written in, but any solutions that involve .NET would be much appreciated likewise as I could instantiate them, otherwise please forgive the crossposting.) I'm sure I've seen posts here before criticising the practice of automating outlook for the purpose of programatically sending email, on the grounds that it's naff. Well now we're really landed in...
0
1108
by: Bill Nguyen | last post by:
Please take a look at the code below. I kept getting the error message: CDO.Message.1 error '80040213' - The transport failed to connect to the server. Win 2003 IIS 6.0 SMTP configured and pointed to Exchange 5.5 server (mailserver)
2
8192
by: NagaKiran | last post by:
Hi Please help me.. I have a VB application. I want to send an email using SMTP. I have mailing server "mail.supremeserver11.com". I want to send mail through this server. How can I send?
3
1665
by: speedmaster | last post by:
hi, my problem is that i have created contact form in this i filled all my fields sends it to the others email address, the mail is recieved by the person but the senders name is not displaying in the reciptent's mail so here is code i have used it plz have a look an give the possible solution. code is: <?php $name = trim($_POST); $email = trim($_POST); $friendname = trim($_POST); $friendemail = trim($_POST); ...
2
2169
by: PrakashN | last post by:
Hai, i m doing one web project in vb .Net 2003. I want to send email from my application . can any one help me how to send email without using SMTP Server , Using OutLook Express.Thaks you in advance
0
8233
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...
1
8334
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
7158
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...
1
6108
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5561
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4078
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1482
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.