Failure For Delivering Mails
to some mail accounts, I can't send mails to them?Whoes fault is this?
the part of code is as follows.
<%
set mail=server.CreateObject("cdonts.newmail")
mail.To=aaa@aaa.com
mail.From="system@aaa.com"
mail.Subject=today & " New Messages"
mail.Body="<html><body><a href='http://admin_main.asp'>go message
board</a></body></html>"
mail.MailFormat=0
mail.BodyFormat=0
mail.Send
set mail=nothing
%>
View Replies
ADVERTISEMENT
I use an asp page to upload a word document to the web
server (with Soft Artisans SA file-up), but sometimes it
doesn't respond, seems to return with a zero sized answer.
I use IIS 6 on Windows 2003 Server and I use this machine
as a client too. The communication goes throught ssl
channel, HTTPS by certificates. If I use Windows 2000 as a
client from another place (that case there is a firewall
between the client and the server) sometimes the same
incident happens, but the Internet Explorer shows
the "Cannot find server or DNS error" message instead of
the blank
response. The problem happens independly of the parameters
which I fill in the form and independly of the file what I
choose. Sometimes the document uploads and sometimes not
with the same parameters. I cannot define the cause
exactly .
View Replies
View Related
I have an Intranet-based app at work, and I have it in two places there: a
dev machine and a production box. In both cases, the ASP files and SQL
Server 2000 database are on the same box. I have it running smoothly in both
places at work.
However, I've been trying to set it up at home, and cannot make the SQL
Server connection work for some reason. I've been working on this off and on
for weeks, and I just don't get what I am missing. Code:
View Replies
View Related
error '80004005'
Unspecified error
when sending an attachment, how do i debug this?
i found out that by default, ASP apps can only access files that are on the computerthat the server runs on. how can i change this so the IIS will take the files off the client's computer?
View Replies
View Related
With the following code snippet:
<%="complexid =" & rsComplex("ComplexID")%>
<% rsPhoto.filter = "complexID =" & rsComplex("ComplexID") %>
<%response.Write("<br>ID: " & rsPhoto("complexID"))%>
I get an 80020009 error on the last line.
The first line appears in the HTML output as complex=589, so I know
that there is a valid value available for the filter.
This worked once and hasn't worked since.
The rsPhoto recordset is viewable in a seperate page. The complexID in
the associated table has a value of 561 in the complexID column.
View Replies
View Related
I am trying to do a very simple piece of asp on a w2k3 server on the company intranet where i work (using IIS 6) the code is simply trying to get an xml stream via a ServerHTTPRequest.
The code I have works absolutely fine, I have tested it on a free asp friendly server on the net and it does exactly what i want it to! however when I run the code on the company intranet I get hit with the following problem.... Code:
View Replies
View Related
I've create a custom com object and I use it as follow:
set test = Server.CreateObject(myObject.classID)
' --> all OK the istance of the object is correctly created
retval = test.function1(par1, par2 ...)
' --> as soon as I call every function of my com object the system returns
the following error: 0x8000FFFF: catastrophic failure.
I do not know why
View Replies
View Related
Is there any way to check that database connection has been established or not ( ASP connection with oracle)
am using this connection
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Open "Provider=MSDASQL;DRIVER={Microsoft ODBC for ORACLE};UID=nnn;PWD=nnn;Server=yyy"
View Replies
View Related
i have a variable called newvalue1 which contains a date such as
newvalue1 = request.form("tf1")
where tf1 is the date sent from the previous page in the format 4/5/2005
now when i give the following statement it gives an error
objrs.find ("date") < newvalue1
"Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another."
also if i give:
objrs.find ("date") = newvalue1
i get a " type Mismatch" error
any thing wrong?
View Replies
View Related
I use the method below to send emails from an asp page that's part of a
web application:
<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library" -->
<%
On error Resume Next
Dim cdoConfig, cdoMessage
Set cdoConfig = Server.CreateObject("CDO.Configuration")
With cdoConfig.Fields
.Item(cdoSendUsingMethod) = 2
.Item(cdoSMTPServer) = "MailServer.Name.com"
.Item(cdoSMTPServerPort) = 25
.Update
End With
Set cdoMessage = Server.CreateObject("CDO.Message")
With cdoMessage
Set .Configuration = cdoConfig
.From = "Me<mailsender@mymail.com>"
.To = "You<mailrecipient@somemail.com>"
.Subject = "Surprise!"
.TextBody = "Helloooo..."
.Send
If err.number Then
Response.Write("Houston! We have a problem...")
End If
End With
Set cdoMessage = Nothing
Set cdoConfig = Nothing
%>
On the production server (Windows 2003 Server) everything works fine
and I don't have a problem sending the mails from the application.
However, I recently upgraded my development box to Windows XP Pro SP2
and the code fails with with the following error:
CDO.Message.1 (0x80040213)
The transport failed to connect to the server.
The from and to email addresses that I'm using are valid and part of my
domain (not a Hotmail or other freemail address).
The SMTP service is up and running on the dev box.
I also tried replacing the mail server name with the IP address of the
mail server, but again it's failing.
We are running Exchange Server for email and if I change the
cdoSendUsingMethod to 3 (for cdoSendUsingExchange) the mail is sent
correctly without errors.
Will I not able to use the cdoSendUsingPort method to send the email if
I'm on Exchange? Am I forced to use cdoSendUsingExchange?
View Replies
View Related
Anyone got much of a clue how best to send emails to selected people from a database table and to be able to track them, maybe as much as a read receipt, or perhaps just checking that they don't bounce, or end up in the bad mail folder.
Is this best/possible to try and code or is there a free/cheap component that does this simply.
View Replies
View Related
I have emails sending no problem on other sections of the site but the following piece wont send
Where email is stored with a email variable from stored procedure i tested it and the value is the.....
Dim RegMail
Set RegMail = CreateObject("CDO.Message")
RegMail.From = "somone@gmail.com"
RegMail.To = email
RegMail.Subject = "ISM Mock Theory Test"
RegMail.TextBody = BodyText
RegMail.Send
Set RegMail = Nothing
View Replies
View Related
Is it possible to generate private key and afterwards apply the CA digitaly signed certificate within CDO code so I can send signed e-mails?
View Replies
View Related
I want to write a code for sending mails using CDO object in ASP. can it is possible to send mail without mentioning name of smtp server.I am using 2k3 O.S. Also one more problem i am facing , i want to send a mail in HTML format, when receipient receive that mail some times it shows in proper HTML formated mail but some times it not showing(it just shows html tags in mails) . I am using .htmlbody property of cdo object.
View Replies
View Related
I have done a ASP Prog where when the user submits the form an email is sent to the resp person.The problem is all the mails are going and sitting in the mail folder and are not moving from there to the mail id's. Can anyone tell me what i would have missed? Code:
View Replies
View Related
I was just wondering what the requirements are on my computer system if I want to be able to receive e-mails (to my own mail server and not through the mail server of my ISP). I already have a functioning SMTP-server, but I guess that only works for outgoing mails, or is there maybe a way I can send mails to this SMTP-server?
Do I need a fixed IP-address? Do I need so kind of special software like Win 2003 server or maybe Exchange Server? Do I need my own domain name? Anything else I need to bear in mind if I want to have my own incoming mail server?
View Replies
View Related
I have a code to send an email in my asp application. But if i send a
mail through this asp code i am not to get the trademark((tm)) symbol in
my subject line.
View Replies
View Related
how to send mails through ASP. I know it can be done through CDO or CDNTOS objects. But it is not working. Is there any settings i have to chage for it? I am using Win2000 prof. Server IIS.
View Replies
View Related
I'd like to be able to write an ASP page that users can enter requests in. When a new request is entered, the page would e-mail a list of recipients and inform them of the new request. I've never done this and really have no idea where to start.
View Replies
View Related
I am looking for a way to read & download my e-mails from my pop3 account from another server by using ASP(vb)
If you know anything about this subject please feel free to let me know. I learn how send but not receive.
View Replies
View Related
Can somebody tell me, How can we send e-Mails with ASP without using CDONTS?
Because some one told me that, it's possible to send e-Mails without using CDONTS. But i don't know how.
View Replies
View Related
Could you be so kind and gives me a function which creates mail in ASP language. But I would like to create a mail with ENTER breaklines and I would like to have background changed, bold fonts, so I mean to use HTML code to create such mails. Is it possible in ASP?
View Replies
View Related
i want to know that how can i send automatically daily newsletter to my users.
i have started a newsletter service recently and want that everyday newsletter from database shall be sent to the users.
i also want to send newsletter on particular date in future as per selection made by the users themselves.
View Replies
View Related
I have read many posts suggesting how to solve the infamous email problem. now I get this error: error '8004020f'
but not when I send mails to myself. It works just for my email adress. I really don't know what to do Code:
View Replies
View Related
I have a cable modem and an isp that blocks outgoing traffic on port 25.I have a form that should generate an automatic e-mail response to the page visitor when submitted.
Now I wonder if it is possible for me to have this function in my asp code if my ISP blocks port 25 or if the generated e-mail will just dissapear in cyberspace?
View Replies
View Related
I am writing an ASP page for sending mails using CDONTS component. Is there any way to capture errors if the components fails to send mails?
View Replies
View Related
how can I send two emails with different messages to different users? Do I need to have two .asp files? or I can do it just in one? If yes, how do I set the obCDOMail.Body to get the value of two different variables?
View Replies
View Related
I am running my information pages from access database, using ASP - This database includes an email field, i would like the subject in the email to have an automatic title.
View Replies
View Related
hav been using serverobject sendmail for close to 5 years but recently giving strange errors. SO for the time being decided to use this code ...
View Replies
View Related
I'm sending out the newsletters using ASP Cdonts. It is fine for few number of mails say about 20. When I started to mass mail say about 200 at a time all the mails got stuck in the queue folder (Now totally 1000 mails got stuck up). Then from my service provider I got the info that the mass mails will be stopped if they are more than 99.
View Replies
View Related
I'm trying to write a Function/Subroutine to send e-mail. I want it to create this to be used as an Include file so I can just give it the info and it will send the e-mail.
The following code works, but is now portable:
<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000 Library" -->
<!--METADATA TYPE="typelib" UUID="00000205-0000-0010-8000-00AA006D2EA4" NAME="ADODB Type Library" -->
<% @LANGUAGE="VBSCRIPT" %>
<%
Option Explicit
Response.Expires = 0
%>
.........
View Replies
View Related
My requirement is to read the inbox mail from remote mail server. In my local machine I don�t have any IIS, Exchange server. I am running ASP page using SUN ONE ASP Server, for sending mail I am connecting remote mail server using CDOSYS. Now I need to read the mail from inbox folder. I am not able to read the inbox mail from remote mail server.
I don�t have IIS/ Exchange server in my local machine. I need to read the mail from remote server. Is it possible?
View Replies
View Related
I got a little problem while sending HTML e-mails with CDONTS.
I generate my e-mail body without problems into a string variable. When I
display it to the browser via a "response.write", it's OK, including images.
Then I set this string variable to the CDONTS.Newmail object (body
property), and I send the mail. Code:
View Replies
View Related