Error Page E-mail

What i'm trying to do is if a person hits an error page, these are differnt error pages not the 404's or 500's.. When they hit that page i want it to send me an e-mail with all the information that was displayed on that page.

Can i do this in java or asp?

View Replies


ADVERTISEMENT

Invalid Mail Address Gives Error In CDO Mail

I'm using CDO from my vb component to fire email. The problem is
whenever one of the email addresses in to, or cc is wrong then none of
the mails are fired even to the correct addresses. It gives an error
like

The server rejected one or more recipient addresses. The server
response was: 550 Relaying denied for <xfd@wre.com>

My code goes like this. Why is the mail server trying to look for the
validation of email ids??I want that atleast the mail should be fired
to the correct email addresses rather than no email fire. Can i
achieve that.

Dim iMsg As New CDO.Message
Dim iConf As New CDO.Configuration


With iConf
.Fields.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Fields.Item(cdoSMTPConnectionTimeout) = 10 ' quick timeout
.Fields.Item(cdoSMTPAuthenticate) = cdoBasic
.Fields.Item(cdoSendUserName) = "username"
.Fields.Item(cdoSendPassword) = "password"
.Fields.Item(cdoURLProxyServer) = "server:80"
.Fields.Item(cdoURLProxyBypass) = "<local>"
.Fields.Item(cdoURLGetLatestVersion) = True
.Fields.Update
End With

Set iMsg.Configuration = iConf
With iMsg
.To = strToEmail
.From = strFromEmail
.CC = strCCEmail
.BCC = strBCCEmail
.Subject = strMailSubject
If strMailFormat = "TEXT" Then
.TextBody = strMailBody
Else
.HTMLBody = strMailBody
End If
If strAttachment <> "" Then
.AddAttachment strAttachment
End If
If intPriority = 2 Then
.Fields.Item("urn:schemas:mailheader:X-Priority") =
cdoHigh
.Fields.Update
End If

.Send
End With

View Replies View Related

Mail Page

Can you give me the way to make a mail page, have a check boxes if I check the first one the another check boxes will checked too.

View Replies View Related

CDO.Mail Error

I have these pages running in my localhost, windows xp pro sp2 and constantly getting error. I have spent hours trying to solve the problem, but I am getting no where. I have changed the email address of mine here, but everything is verbatim.....

View Replies View Related

Sending Page By E-mail

I'm working on a few intranet pages and have a doubt on how to send e-mails ( i have the aspemail component installed) to outside clients including the invoice for services payment.So differently from Intranet issues where you easily provide a link embeedded on the e-mail, I can't figure how to show the info from outside offices network.
Does anyone knows how to do it? perhaps printingscreen the html page by code and then send to the client as a embedded image or something....?

View Replies View Related

Send E Mail From Web Page?

How we can build form to send e mail from web site? which component should we use?

View Replies View Related

Sending Mail From ASP Page

I want to send mail from my ASP site but my ISP do not allow local mail servers. How do I do to relay mail through ISP:s mail server?

View Replies View Related

CDO.Message - No Mail And No Error

while i still have a couple of hairs left on my head i decided to crawl in here on my begging knees and ask all you clevar programming sharks for advice before my needs for a wig becomes a reality.

okay here it goes. I made a function in asp that is suppose to send mails. First i had no clue why the email didn't reach it's destination so i tried every possible variation of the code i could think of, but nothing worked. In my frustration i tried adding and removing text inside the body of the email if i add e: to the end of the text in the body - the email gets delivered every single time... but as soon as i remove it from the text body the email doesn't arrive. I get no error (i disabled friendly error messages) the page loads as nothing is wrong. The event viewer has no errors. there's no mails inside badmail or queue.

The server is a windows 2003 with exchange 2003 installed on it as well.

if there's anything i forgot please do not hesitate to ask.

the email i try to send to is a hotmail account. If i send to an email address located on the exchange server the email gets delivered successfully no matter what's inside of the body.

here's the function i use:

function sendmail(strToEmail, strFromEmail, strSubject, strBody)
Set myMail=CreateObject("CDO.Message")
myMail.BodyPart.CharSet="iso-8859-1"
myMail.From=strFromEmail
myMail.To=strToEmail
myMail.Subject=strSubject
myMail.HTMLBody=strBody
myMail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
myMail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") _
="localhost"
myMail.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") _
=25
myMail.Configuration.Fields.Update
myMail.Send
set myMail=nothing
end function

View Replies View Related

ASP Form To Mail Error

I have an ASP script that collects information from a form on my site and
sends it as an email. The ASP script is calling CDONTS.DLL which is
registered on a win2k3 server with Exchange server running.

When submitting the form there is an error when it comes to the 'mail.send'
part of the script. I have given all the necessary folders the correct
permissions as per microsoft however I still get the same errors.

I believe it is something to do with permissions because if I disallow
anonymous access to the site and access it through the local network as a
logged in user the script works fine.

View Replies View Related

Sending Mail Error

I am using this code to send a mail from a feedback form page, but this code is not working. can anybody tell me what mistake I am doing . My requirement is , the message of feedback form will go as a content of a mail to a specific person.

<%
Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.To="emailid"
Mail.From="emailid"
Mail.Subject="Just testing my script"
Mail.Body="Hey! I am sending this email through an ASP Page, and
guess what? I haven’t learnt much yet, but know that ASP is very
powerful."
Mail.Send
Set Mail=nothing
%>

View Replies View Related

Sending Mail From ASP Page Using CDOS

I'm trying to send mail from my asp page and I get this error:

CDO.Message.1error '80040213'
The transport failed to connect to the server.
/Action_Item/action_items/post_new_action.asp, line 50

I tested it from home and it works fine the my local machine but when I tried to use it on the win2k server at work I get this error.

Here is the code: .....

View Replies View Related

CDO Send Mail: Error '80040211'

I patched lastnight. My cdo send email code worked until this AM. The code has been working for months on my 2003 web server relaying to my exchange 2003 server. I now get

error '80040211'
/Ricweb/standards/testemail.asp, line 35 .....

View Replies View Related

Send Mail In HTML ERROR

I have a small problrm in sending mail in HTML

I'v done this code, but.:

Code:

Private sub SendMail()
MailBefore = "<html>" & chr(13)
MailBefore = MailBefore & "<head><title>" & MailSubject & "</title></head>" & chr(13)
MailBefore = MailBefore & "<body>"
MailBody = MailBefore & MailBody & "</body></hmtl>"
select case strMailMethod
case "cdonts":
SendCdonts()

I receive like this....:

View Replies View Related

Error Type: (0x8007007E), CDO Mail Not Working

My other problem with the code that I am writing is that I cannot get the email funtion working. I eventually want it to use another SMTP server rather than running on the local machine using IIS' built in email system.

The code is very simple as follows:

<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Email Test"
myMail.From="me@test.com"
myMail.To="someone@somedomain.com"
myMail.TextBody="This is a CDO email test."
myMail.Send
%>

This should work fine as far as I can tell, I am running win xp pro with IIS installed and SMTP service running. When I access the page though I get the following error:

<LI>Error Type:
(0x8007007E)
/mycal/email.asp, line 12

<LI>Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

<LI>Page:
GET /mycal/email.asp

<LI>Time:
09 March 2005, 10:26:01

CDOSYS.dll is present in the windowssystem32 directory, I can only presume it is something to do with that, but I really don't know. I tried to register the dll in regsvr32 to see if that was the problem, but it said it couldn't register it (return code 0x800704da).

View Replies View Related

CDOSYS Mail Form Runtime Error

I have downloaded the script from brainjar but it needs a bit of tweaking because my smtp host requires authentication, I have added what i feel are the relevant lines of code but these are giving me a runtime error

These are the relevant lines of code, the 1st line giving me the error:

objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'whether you use a authentication on the server

objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendusername") = *******
objCDOSYSCon.Fields("http://schemas.microsoft.com/cdo/configuration/sendpassword") = *****

View Replies View Related

Mail : Microsoft VBScript Compilation Error '800a03ea'

My global.asa file looks like this

<script language=Vbscript RUNAT=server>

Sub Application_OnStart
application("ADOSqlConnection")="driver=SQL Server;Server=;uid=;pwd=;database="

application("ConnectString") = "driver=SQL Server;Server=;uid=;pwd=;database="

Sub Session_OnStart
Set Session("arrTo") = Server.CreateObject("Scripting.Dictionary")
Set Session("arrCC") = Server.CreateObject("Scripting.Dictionary")
Set Session("arrBCC") = Server.CreateObject("Scripting.Dictionary")
Set Session("arrFiles") = Server.CreateObject("Scripting.Dictionary")
Session("Count") = 0' to generate unique keys for the dictionaries
end sub

Sub Session_OnEnd

end sub

End Sub

</script>

I get this error

Microsoft VBScript compilation error '800a03ea'

Syntax error

/LM/W3SVC/542313792/Root/global.asa, line 8

Sub Session_OnStart

View Replies View Related

Redirecting From My Home Page Directly To Mail Server Inbox

I have registered a domain, if i want to check my mail i had provision to go to there web server mail page from there i could login and see my emails,

i have a created home page in ASP there i had login page with username and password,

if i enter the username and password it should straight away take me to the email folder(accessing from my home page rather than going to the their web server login page)....

View Replies View Related

CDO Mail Error: The Event Class For This Subscription Is In An Invalid Partition

I want to Send mail using the following code but an error appear like this:

----------------------
Error Type:
(0x8004020F)
The event class for this subscription is in an invalid partition
/tests/a.asp, line 27
---------------------

<%@ Language=VBScript %>
<!-- #include file="cdonts.inc" -->
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<HTML>
<body>
<%
'Email to customer ......

View Replies View Related

HTTP Error 403 - Forbidden Error While Accessing Html And Asp Page

well i m developing application in asp when i want to access these pages from ie5 it shows error HTTP Error 403 - Forbidden in internet explorer http://localhost/Mail/email.htm .

View Replies View Related

Friendly HTTP Errors Causes Std Error Page In IE (no Its Not An Asp Error!)

I thought this is more of an IE issue but i've had no joy on that group
perhaps somebody here will have a clue.

If i click a link to a web page embedded in Excel (97 OR 2000) i get the
standard error page displayed by IE (you know, the 'cannot find server or
dns error' page).

Turning off 'show friendly http error messages' alleviates this.
(Unfortunately this is the Windows default setting!)

Whats going on?!?! Code:

View Replies View Related

Send A Mail With Cdosys And Save A Copy In The Sent Mail Folder: How To?

I need some help: with cdosys i'm able to send e-mail from asp using the local exchange
server. Now I also have to save the sent mail into the user's mailbox for future reference: how to?

I'm using:....

View Replies View Related

Mail Insertion Hack On Send Mail Form

I'm using CDO to send mail to the site owner from ASP pages with forms.
Recently one of my forms is occasionally sending email with what seems
to be an insertion which is replacing the plain text part of the email
with something else. Looking at the server sent email source, the
hacked emails have the following:

View Replies View Related

Sending Mail Using ASP/VBScript To Exchange Mail Box

Here's the scenario. I'm currently using cdosys/asp to send mail to
our SMTP server. We use a product called MailFilter to check for SPAM.
It doesn't work very well. If MailFilter isn't working cdosys also has
problems and emails don't get sent. As these email are confirmations
for customer's bookings this means lots of customers calling to see
where their confirmation emails have gone. The root of the problem is
MailFilter but that here to stay. So I had this thought of sending the
message to a queue of some sort so at least they will get to the
customer eventually rather than being lost for good. So here's the
question:

Can I/How do I send messages to a mailbox on our exchange server using
cdo.message?

View Replies View Related

"send Page By E-mail"

I need to replicate the code that is found in Internet Explorer File->send
page by e-mail. Can someone tell me how to replicate this code or just call
this function. I need to program it to be activated by a button on my .aspx
page......

View Replies View Related

404 Page Error

I downloaded this custom 404 error page which sends an email, was wondering if anyone could have a look at it for me, for some reason, its not picking up the function, I have tried the mailing code and it works fine. Code:

View Replies View Related

Gives Page Error

During a Script session, when I hit the browser 'Back' button I get Pag
error.
I get this error only from a couple of the pages.
Would anyone what the problem could be? or how to go about fixin
this?

View Replies View Related

Error 400 Asp Page

In random case I have the problem of Error 400 bad request. My appliction
is asp pages with visual script, internet explorer 6.0, com+, and sqlserver
2000 as database.

View Replies View Related

Error Page

i have a link from page1 to page2. this link uses a querystring to transfer data. usually i have no problems using querystring t transfer data. bt for the first time page2 does not display.an eror page displays. i had a look at the properties of the error page to see if the url is correct and i noticed somthng iv never seen before.this is

it:
res://C:WINDOWSSystem32shdoclc.dll/http_500.htm#http://gisserver/verslag/Trans_Edit...tId=141&TId=264

View Replies View Related

Error On Web Page

what this error means?

HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

View Replies View Related

Use Error Page

I'd like to discuss the concept of creating an error page which will handle the website content display. I need it for Search Engine Optimization. The problem is that SE does not read pages with querystrings like:

website.com/mypage.asp?id=123.

Therefore, there is a solution to it to make a link look like website.com/mypage/id/123 (which does not exist), and error page will display the content of website.com/mypage.asp?id=123 page, if url is website.com/mypage/id/123...Do you think that is a good practice to implement? Can anyone show the example? Should I use Msxml2.ServerXMLHTTP to pull another webpagecontent?

View Replies View Related

Error Page

I found some websites display nice pages other than a plain error page when you type a wrong URL. How can I do that?

View Replies View Related

Error In Asp Page

Hey i am getting the following error in my asp page

Microsoft VBScript runtime (0x800A000D)
Type mismatch
/newfolder/temp1.asp, line 135

temp1.asp
invamt = qty * price -----> line 135
qty and price come from the database. i am using Microsoft SQL Server. qty has the value 100 and price has the value 600.00. This same code is running fine with Msaccess 2000 and asp. But its giving me error if i use SQL server and asp. i tried this code with sql server in vb, there also its running fine.

View Replies View Related

404 Error Page

I have managed to find the answer to my query.how to customized 404 error page.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved