CDOSYS
Using CDOSYS to send email:
Code: ( text )
Using CDOSYS to send email:
Code: ( text )
how 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 RelatedI 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
Does anyone know how to send Japanese email with CDOSYS?
I'm having tons of problems with this and have spent the whole day trying
out different combinations of character sets and encoding.
I've gone through all the examples and tutorials I've come across but none
of them show how to send Japanese emails specifically and I haven't been
able to derive how to do it from the examples.
It must be possible because I can do it with .NET and CDO. I think they
both use the same CDO? However, I need it in classic ASP, not .net.
There must be someone out there that has done it.
I have an email script that used to work but now doesn't, my web host told me I have to use CDOSYS instead of CDONTS.If it's not to much trouble could someone look at my script below and make it CDOSYS compliant.Thanks
<%@LANGUAGE="VBSCRIPT"%>
<%
Dim usxCDO
Set usxCDO = Server.CreateObject("CDONTS.NewMail")
usxCDO.From = cStr(Request("email"))
usxCDO.To = "someone@somewhere.com"
usxCDO.Subject = "Subscription To Magazine"
usxCDO.Body = Chr(13) & Chr(10) &_
"Name: " & cStr(Request("name")) & Chr(13) & Chr(10) &_
"Company: " & cStr(Request("company")) & Chr(13) & Chr(10) &_
"Email: " & cStr(Request("email")) & Chr(13) & Chr(10) &_
"Instructions: " & cStr(Request("instructions")) & Chr(13) & Chr(10) &_
"A SUBSCRIPTION ORDER HAS BEEN PLACED."
If (cStr(Request("Submit")) <> "") Then
Can someone help me configure my cdosys to work with my godaddy account, i can get it to work my my work mail server but i haven't had any luck with go daddy's.
View Replies View RelatedI'm trying to send an email from my ASP page using
CDO.Message and CDO.Configuration. I couldn't get this to
work for ages and all my emails ended up in
inetpubmailrootqueue.
I'm behind a firewall and finally figured out that i have
to set the smarthost field for the SMTP Virtual Server in
IIS to get any emails to send. All good, the emails get
sent.
The part that confuses me is that in my code, no matter
what i set the cdoSMTPServer field for the
CDO.Configuration object to, it always works. I guess it's
using the smarthost field in the SMTP Virtual Server to
get the name of the server to use...but how will this all
work out on a different computer??
(What i would really like is for the code to use the
server specified in the cdoSMTPServer field instead of
relying on the configuration of the SMTP Virtual Server.)
I have added a tracking element and also an unsubscribe element to my newsletter, all working great.
I am all set ready to send my newsletters via CDOSYS, and have found a little problem.
I dont want the emails to be send using blind carbon copy. As this is in-personal. However I dont wish for each of the clients to see other peoples email addresses. So what am I to do to achieve this.
I have reached a stumbling block, as everything else was quite simple once thought about. Code:
I'm used to sending mail via cdonts but am now forced to use cdosys (i knew it was coming but i'm lazy). I'm going fine but for one thing - i occasionally need to use contentbase and can't find it's equivalent in cdosys.
View Replies View RelatedWhen i send using CDOSYS I have the from line using a friendly name, like this:
myCD0SYSMail.Sender = "Joe Bloggs <joe@bloggs.com>"
I sent to a few email accounts and some of my POP3 accounts recognise it, some don't and show the from as the email address and others, including GMail say "unknown sender" and Hotmail says "(unknown)".
Am I doing something wrong?
I am sending a form via CDOSYS, and I am aware that you can use:-
sTotal = Request.TotalBytes
to determine the size of the email being sent, this is ideal to restrict the size of the attachment, however it equally picks up size from the other fields, and one of those fields is a covering letter, so its gonna wreck my size limitations.
Can you uncheck this in some way from the total size?
The place I'm working for uses persits aspEmail and it seems always has but I've run into issues where I need to use the "premium features" and I won't release an unlicensed copy to a customer and I started wondering why we use persits at all. So far the only answer is "we've always done it that way".
For the scripts I've written I need embedded images and SMTP AUTH and while I haven't implemented it yet, I am wanting to include the queuing ability that persits offers.
CDOSYS is a part of the windows server, correct? That means it is already licensed with the server, right? Does persits aspEmail offer any advantages that would justify spending the cash for a developers license or should I just re-write all of the scripts to use CDOSYS?
I have made simpale web site inside that i am generating email page which
send form as email.
i have setup small business server with Exchange server 2003 and i have
hosted my website with this server.
i can not generate email using following code while same code working with
my developement XP machine installed SMTP service. Code:
I have a form that triggers the sending of an e-mail via CDOSYS. I'd
like to make this a nice HTML-formatted multipart message, but for some
reason the text version is coming through blank.
Originally I thought I had read that CDO has an automatic text converter
that will turn the HTML code into a plain TEXT message, but when that
didn't work (and I couldn't find anything further about it), I added a
custom text line like this:
objMessage.TextBody = "This is the text body."
objMessage.HTMLBody = "This is where I put the long HTML code."
objMessage.send
That worked in my mail client (Thunderbird), but the messages still go
blank in my wife's Hotmail account (actually, if I send it directly to
her hotmail account they don't arrive at all; if I send it to her other
address that forwards to her hotmail account, they come in, but the body
is blank).
My provider removed suddenly the CDONTS from the server. Now I have to change my forms and I have to use the CDOSYS functionaltity.Till now I used one script that could do the work with one page. I could send all my forms to that page and this page conveyed all the input by email.
Now I want to make a script that can do the same job. This is too diffucult for me. I can make a script for the normal input for email forms but I want to use forms with far more variables than To, From, Message, etc.Can someone show me the way to an example of such a script?
To configure CDOSYS, there are values that have to be set similar to:
EXEC @hr = sp_OASetProperty @iMsg, 'Configuration.fields("http://schemas.microsoft.com/cdo/configuration/sendusing").Value','2'
So everytime an email is sent, the script will contact Microsoft's website? Is this information that is being read necessarily taken from Microsoft's website? Is it possible to hold that information locally and or to hard code that information such as:
... ("<hard-coded info>").Value','2'
I would rather not depend on Microsoft to be able to send out email.
How can you create a hyperlink in the HTML body of CDOsys email? Line 7 is a link for yahoo.com, but the asp page does not work.
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject ="Test Page - File upload"
objMessage.Sender = "" & Request.Form("email1") & ""
objMessage.To ="jason@yahoo.com"
objMessage.HTMLBody = "Email: " & Request.Form("email1") & vbCrLf & _
"Confirmation #: " & Request.Form("ConfirmID") & vbCrLf & _
"<a href="http://yahoo.com.com/">yahoo</a>" & vbCrLf & _
"FileName: " & Request.Form("file1") & vbCrLf & _
"Name: " & Request.Form("Name") & vbCrLf
Is it possible to send/receive nntp messages via CDOSYS without a 3rd party news component? The NNTP links I have found appear to be related to MS Exchange 2K. My goal is to write an ASP interface as a customized news reader.
View Replies View Related