473,387 Members | 1,512 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

454 5.7.3 Client does not have permission to submit mail to this server

nitindel
Hi All,
Greetings....

I am working on ASP, VBScript ,Javascript.......and in one piece of module i want to send mail . and i am using ASP Persits software...

but the error is very peculiar as shown below:

454 5.7.3 Client does not have permission to submit mail to this server

Below is the code that i am using ...
[code]
Set Mail = Server.CreateObject("Persits.MailSender")
Mail.host = session("lanip")
fromid = "abc@abc.com"
toid = Request.Form("to")
mailbody = Request.Form("body")
Mail.AddAddress toid
Mail.From = fromid
mail.username = session("muser")
mail.password = session("mpass")
Mail.subject = "Your User ID and Password for PMIS"
Mail.IsHTML = true
Mail.Body = mailbody
strErr = ""
bSuccess = False
On Error Resume Next
Mail.Send
'Response.Write(err.description)
If Err <> 0 Then
strErr = Err.Description

Response.Write "Error encountered: " & Err.Description
'else
' bSuccess = True
End If

[code]

Also...i have used CDO..... but all in Vain.....
CDO is also not working...

Please let me know in detail what all possible resons can be for this particular error......

Thanks & regards
Feb 11 '08 #1
1 3215
CroCrew
564 Expert 512MB
It sounds like your SMTP is requiring authorization to use it services. I see that you are passing in information in the correct places.

Expand|Select|Wrap|Line Numbers
  1. mail.username = session("muser")
  2. mail.password = session("mpass")
  3.  
But, is what you’re passing (session("muser") and session("mpass")) a valid account on the mail server that you are using? Verify that it is.

If that did not help; then check to see if your session might be getting abandoned before this script runs. Place more error checking around your code to test if the session exists at that point.

Hope this helps~
Feb 11 '08 #2

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

Similar topics

88
by: Mike | last post by:
Is there a way to determine what a user's default email client is? I read a post from 3 years ago that said no. I guess I'm hoping something has come along since then.
2
by: Robert Wagner | last post by:
I've created a page using VS.NET and page validator controls. The client side validation works fine on IE, but does not even activate under "alternate" browsers like Mozilla, Opera, etc. Why is...
2
by: giant food | last post by:
Hi, I'm writing an asp app. I have a text box with a validator and a submit button. Here is code from my .aspx file.... <asp:TextBox ID="txName" TextMode="SingleLine" Runat="server" />...
14
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2)...
1
by: festivalman | last post by:
Hi, sorry if this is in the wrong spot. Finding the newsgroups on MS's site could have been easier Here's my problem I've got some old asp's that are running our simple web site. In a section,...
1
by: rmgalante | last post by:
I have written an ASP.Net application that uses the standard client-side and server-side validation for various fields on the form. Some of the customers that use the form report symptoms that...
2
by: Wysiwyg | last post by:
I'm going back to a previous asp.net (C#) web project after a few months of inactivity and my first form, the login, won't submit. I ran with the debugger and still can't see how to resolve this. I...
5
by: John A Grandy | last post by:
is it possible to write a vb.net code (intended to run on the client-side) that would invoke an instance of IE, have it download a page from a certain URL, and then pre-populate some of the...
3
nitindel
by: nitindel | last post by:
Hi All, Greetings..!! I am using Persits Software to send mail in my Project through ASP,VBSCRIPT... But Mail is not going to the recepient...instead it is showing the following strange...
1
by: captainwin | last post by:
Here's the problem: - Website is ASP.NET 1.0 - Server is Windows Server 2003 - Browser is IE 6/7 - Client requests a mail merged MS Word 97 - 2003 document on the website, and the document gets...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...

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.