CDOSYS Mail
how to check can be made to see if a CDOSYS email was sent successfully? And if not retreve and post the error?
View Replieshow to check can be made to see if a CDOSYS email was sent successfully? And if not retreve and post the error?
View RepliesI 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:....
I am usually a CDONTS man but the hosting company say I must use CDOSYS. The following code seems to only work correctly when the recipients email address is the same as the sender address.
I have tried to send the email to Hotmail, Yahoo and GMail accounts and it does not send. No error messages, just is not received in the inbox of the account.....
im using code below to send an email, let say sample is my company domain, when i try to put myMail.From and myMail.To as Lee@sample.com.sg, but when i try to put myMail.From and myMail.To as same as code below, it seems like never send ou the mail. Can anyone tell me what is the problem? Code:
View Replies View RelatedI have managed to scag around the internet and find this code posted in a forum way fack in 2004. I have working examples of aspMail written in VBScript but am doing (not through personal choice the coding in JScript).
This code seems to be ok apart form the http:// schema sections, they throw an errror and I can not find any information as to what they should be set to. Code:
I've been using CDOSYS Mail and this bit of code fine for a year. Well, we wanted to change the method of sending email from the Webserver sending it, to designating a specific SMPT server.
So, I found this code on MSFT's web site (MSFT CDOSYS SMTP ) that will allow me to do this, and it works, except that the redirect command that I have at the end of the file no longer works. I have no idea why.
Thi is the error I get:
error '8004020f'
/asp/send_email_foundation_conf.asp, line 78
Code: ...........
When I send htm mail to hotmail using cdosys the links appear like this " javascriptl("news01.htm"); " without quotes, the images appears in the worng place and they shows as attached, but when I send the same mail to Outlook there is no problem, the links and images apeears in the right place, there is no problem with it jus in hotmail or free web based application mail. (yahoo, gmail, hotmail, etc...)
Somebody Knows why??
I run a web site that uses various forms to send email to customers. For example, I have a "Forgot your password?" script and a "Email this page" script.I've found out that when a user sends an email via my site to a Hotmail address, the email just "disappears." I'm assuming Hotmail is considering the email SPAM because it was send by my web server? The site uses ASP and I've tried using CDONTS and CDOSYS (which I specified a SMTP server for) and nothing seems to work for Hotmail.
A large portion of my customers user Hotmail, so banning it really isn't an option.Is there anything I can do to prevent Hotmail from blocking my site's emails?
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") = *****
What I am trying to do is to upload 4 files to my server (Windows 2003 Server Edition , IIS 6.0) and then e-mail them to my e-mail account. I use 2 files. The first is uploadTester.asp...
View Replies View RelatedI'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:
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?
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
I would like to know if this can be achieved! On the form I a drop down menu that's called ("Escalation_type") the values are eta, hdtv, and supervisors. I have some ideas but I am not sure if it will work or not. If the use chooses an eta as a value I would like it to be sent a mailbox for exam: no@where.com. If they choose hdtv as value I would like it to be sent to a different mailbox. Can this be achieve by using the case statement or the if statement?
View Replies View RelatedI'm looking for an asp code who can send an email without using a mail component. I started to write somethings using winsock but I don't have enough time to finish it.
View Replies View Relatedhow to use CDOSYS... i am getting pain by changing my servers
View Replies View RelatedI am desperately trying to install a login script for my website. I keep getting this error:
error '80040211'
/register.asp, line 88
Here is what is on line 88:
objCDOSYSMail.Send
i spoke with my hosting company - they said CDOSYSMail.Send and objCDO.Send are the same thing and if one is supported they both are - is this true?
I don't know what to do to get this working. It's a remote SMTP, but they have assured me that isn't an issue because I have the correct outgoing SMTP info in place (Verio hosting)
How can i create an form in CDOSYS to send an email?
Win 2k and NT used CDONTS, but XP does not support it. Does anyone know how to utilise this using Win XP Pro with IIS version 5.1
I know with CDOSYS there's a objMail.from class, but this is for the From email address of the sender, not the From Name. Is it possible to assign a from name and from email address as seperate values?
View Replies View RelatedI have an asp registration form, generating a html email, using cdosys.
When a hotmail user registers they receive an empty email or so it
seems, until you forward the email then the contents appeas as if by
magic. Is this a problm in the way my asp page is generating the email
or is it a settings issue with the hotmail account
I have allready posted my problem at this forum and i got replies too.But they suggested me using cdont or cdo component for win 2000.But my os is XP
professional and it contain CDOSYS component for sending email in asp.Plz provide me solution a/c to Windows XP Professional CDOSYS component
I keep getting this error when my website tries to create an object to send an email for the checkout email confirmation: Error creating object: 006~ASP 0177~Server.CreateObject Failed~800401f3. Do you have any idea of the reasons this could happen? I had an engineer configure the software for CDOSYS, and this is what he said: Andrew, I’ve replaced all the files and I still get the same error message. So this leads me to believe that we’re looking at the wrong site or where I am publishing to the wrong location. Either that or the host is doing some sort of an ASP caching.
I don't see how he could be publishing to the wrong location; i gave him the right ftp info. Do you know what an ASP caching is, or do you have any clue what i could do to try to fix this problem, or where this error came from in the first place?
URL URLI was told by somenone that the object is not installed and registered properly. Does this mean that the dll for CDLSYS is not installed server side, or that the error is a function of my server not being set up right?
I am getting this error, but have no attachment code!! What other paths could it be looking for. The only one I have is:
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory") = "c:inetpubmailrootpickup"
i am using CDOSYS to send mails to the users from my application. Everything is working fine, mails are being sent to the user but in the mail the user receives, some extra characters such as '!' or spaces are coming between words. I tried defining a character set but still the problem exitss.
View Replies View RelatedDoes CDOSYS have all the same methods and properties that CDONTS does? I need to know 'cause I just put XP on my box and I heard CDONTS has been deprecated since Win2k anyway.
View Replies View RelatedI am having difficulty with the cdosys for windows 2000, I can't seem to find a method that allows me to attach a file, I have been searching msdn and the page I needed was not available.
View Replies View RelatedUsing CDOSYS to send email:
Code: ( text )
I was using CDONTS to send ASP forms. They used to work fine, but now it seems that my webhost provider (not to mention some others), are changing the fotmat from CDONTS to CDOSYS. I have been looking at some of the examples, but they seem confusing. So, my questions is this...
What is the easiest way? I am more concern with the collection of the data from the form's fields. What is that I have to do in order to be able to collect the data sent from the fields?
I have a form that I use to send an email using CDO. When I submit the form, it brings up a blank page and no email is sent. Can you look through the code and see what's wrong?
View Replies View Relateddoes anyone know why the code below wont work ?
It doesnt thow any errors, but no email is being sent!
'--------------------------------------------------------------
'-------- now use CDOSYS to send email because im using IIS5.1
'--------------------------------------------------------------
Dim objConfiguration
Dim objFields
Dim objMessage
Set objConfiguration = CreateObject("CDO.Configuration")
Set objFields = objConfiguration.Fields
With objFields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) ="localhost"
.Item(cdoSMTPServerPort) = 25
.Item(cdoSMTPAuthenticate) = cdoBasic
.Update
End With
Set objMessage = CreateObject("CDO.Message")
With objMessage
Set .Configuration = objConfiguration
.From = "mark@mark.com"
.To = "mark-wheeler@tiscali.co.uk"
.Subject = "Here comes a Subject"
.TextBody = "Here is a text body"
.Send
End With
Set objMessage = Nothing
Set objConfiguration = Nothing
I am trying CDOSYS code to send out email. The problem is when I try to send email to gmail and hotmail account, it never works. Means, no email appears at gmail and hotmail account. But when I send it to yahoo mail, it works.
I run the code at localhost. I use Win XP Pro. I just wonder why this happen.
Can someone explain to me?
Below is the code that Im trying out: ....
If I code automated email sending functionality for website using CDOSYS it will work only for users with Windows 2000/XP. Is it correct?
Or Windows 2000/XP requirement is only related to the server side software and all my users will not have any problems using other systems on their computers?
I have an ASP page that uses CDOSYS to send a simple HTML format email with a
PDF attachment. When I open the PDF attached to the email it shows up as a
blank page. I log into the web server console and open the same PDF in the
source directory and it opens fine. I run a binary comparison of the source
and attached files and there's a difference: one byte, x'2E' is missing at
offset x'0231'. If I save the attached file and use a hex editor to insert
the x'2E' the file opens just like the original