Using CDOSYS And The SMTP Service To Send Email

I am running Win XP and have installed the IIS SMTP service, however I'm not sure what I need to do to configure both the SMTP service and CDOSYS properly to allow me to send out email from an ASP script.

THE PROBLEM:

What is happening is the email is not sent and goes to the 'c:InetpubmailrootQueue' folder. I have checked the event viewer and the error I receive is:

Message delivery to the remote domain 'yahoo.com' failed for the following reason: The remote server did not respond to a connection attempt.

I believe the SMTP service isn't setup correctly or I haven't configured CDOSYS properly in my ASP script.

The CDOSYS part of my ASP script is setup as follows (I am using Javascript with ASP btw):

Code: .....

View Replies


ADVERTISEMENT

Using CDOSYS And The SMTP Service In IIS

I am running Win XP and have installed the IIS SMTP service, however I'm not sure what I need to do to configure both the SMTP service and CDOSYS properly to allow me to send out email from an ASP script.

THE PROBLEM:

What is happening is the email is not sent and goes to the 'c:InetpubmailrootQueue' folder. I have checked the event viewer and the error I receive is:

Message delivery to the remote domain 'yahoo.com' failed for the following reason: The remote server did not respond to a connection attempt.

I believe the SMTP service isn't setup correctly or I haven't configured CDOSYS properly in my ASP script.

The CDOSYS part of my ASP script is setup as follows (I am using Javascript as the ASP language btw): .....

View Replies View Related

Email With CDOSYS SMTP Mail

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: ...........

View Replies View Related

Using SMTP To Send Email - The Only Way?

I was able to send email via the server in both .NET and ASP (using CDO for ASP). However I had to configure a SMTP server for this to work, which means the email will be sent via the server's SMTP service. so this could mean a lot of overload on the server. So as to reduce the work on the server, is there another way to send email to people?

View Replies View Related

Cannot Send Email Using Xp Pro And SMTP

I am having problems trying to send emails using IIS 5.1 and ASP on a XP Pro box

I think that it is a configuration problem in my SMTP setup

I can send emails using Telnet but when I send via ASP they all end up in the Queue folder

ASP is not generating any error messages

Have tried code using CDO and CDONTS but I do not think it is a code issue

Sometimes I get a system event error saying that cannot do a DNS lookup on my send address

Any suggestions please

Properties for SMTP on my system:

General IP address : all unassigned
Access Relay: {my computer IP address}
Delivery Advanced Smart Host: mail.bigpond.com
Delivery Advanced Fully qualified domain name: {my computer name}

View Replies View Related

CDO, SMTP Doesn't Send Email

I'm using CDO object to send email but it doesn't send any email and it does
not give an error.

My code look like this: .....

View Replies View Related

Configuring SMTP To Send Email To The Recipient

It seem that I did not configure the SMTP service on a Windows 2000 server correctly because all the email is been sent to InetpubmailrootQueue directory. Do I need to install Outlook for the email to send the mail to the recipient?

View Replies View Related

Declare Smtp Server When Send Email

My question is do ASP need to declare smtp server when send email using CDonts function?

View Replies View Related

Send Email Through Web Form, Using External SMTP

I have a CDONTS script which has been sending mail from a client's website form to their address. However, the script has suddenly stopped working after three years of working fine. It doesn't error, they just don't receive the mail any more. I've tried CCing myself in the script and can confirm the mail is not getting through. The script itself is tried and tested and syntaxially correct, and it is hosted on a windows 2000 server which has not been changed or reconfigured at all recently.

I think the problem is because they're using their own exchange server, not the web hosts' mail server. Therefore I would expect that mail sent from the web script wouldn't go through because there is no local mail server to process it.

The problem is that the script hasn't changed, the host say their system hasn't changed, and the client's IT team say their exchange settings haven't changed!?!

I could set up a CDOSYS script to use their Exchange server to deal with the email, but their IT support won't allow relaying, so I don't think this is possible.

Is connecting to their Exchange box the only option, or should the website host still be able to process the web-script-generated mail despite not being their mail provider? I'm getting a lot of grief here, but it can't be the script that has suddenly broken because nobody has touched it!

View Replies View Related

Use CDOSYS To Send Email On Different Server

I've set up a website contact page which uses CDOSYS to send form details to an email address.

However, the domain is set up such as the client is using their own mail server, and using my server only to host the website.

Ordinarily I would set up hosting with email and change the nameservers of the domain to point to my server, but in this case the client is keeping the nameserver details the same, but just updating the A record to point to my server to display the website.

Trouble is, the CDOSYS email doesn't seem to work with this set-up. Do I need to hard code their mail server IP somewhere to get it to work?

View Replies View Related

How Can We Send Email With Links And Images By Using CDOSYS?

I have a CDOSYS mail and it's working ok but it sends plain text massage. But i want to send with images and links. But when i put a link with image in the .HTMLBody field like <a href="http://www.mysite.com/"><img src="file:///C:/My Documents/image.gif" border="0"></a> so, i got an error message.

Microsoft VBScript compilation error '800a0401'

Expected end of statement

/cdo/cdosys.asp, line 41 .....

View Replies View Related

How To Send CDONTS Or CDOSYS Email With Specified Attachment?

I am trying to get a asp-mailer setup that will send a specified attachment.
I have tried both CDONTS and CDOSYS methods ... both are giving me headaches.

And the best part is how incredibly helpful the error is: (Sarcasm Intended)

Error Type:
(0x80004005)
Unspecified error <-- They should change that error to ... "Good Luck!"
/knowledgetree/emailer-drivers.asp, line 90
I hilighted the above line in the code as well.

Here is the code I am working with: Code:

View Replies View Related

SMTP Service

How do you change the port in which CDONTS will look for Microsoft SMTP
server? I have Imail running on port 25, and I have SMTP service running on
port 26. Any help you can provide me would be excellent.

View Replies View Related

Cannot Restart SMTP Service

I have a big problem with the SMTP service in IIS on Windows Server 2003.

I tried to install FTP service on windows Server 2003 but had to cancel it as it did not appear to be working. Since then, i went back into IIS Manager and all services were stopped. I have got the default web site services started OK, but the SMTP service is stopped, and right clicking and selecting start does not start it running again. I just get a dialog box saying that the service isn't running and to start it running again (!!!!! That's what i was trying to do!!!!!!!!)

i also tried to restart it from DOS and got a message saying that the service was already running!!

i have also tried to stop the service from DOS and get a message saing that 'The Service could not be controlled in it's present state'!!!

View Replies View Related

ASP CDOSYS SMTP

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

View Replies View Related

SMTP Authentication With CDOSYS

I need a password in order to rout emails through the server that I'm using.How can I submit the password with CDOSYS

View Replies View Related

Adding Smtp Server Settings To CDOSYS

i am having trouble getting CDOSYS to work, i have just changed from CDONTS (which was working fine), because i want to be able to email a webpage as my body Code:

View Replies View Related

Send File To Web Service

I want, send excel file to web service, can I do it? how can I do it?

View Replies View Related

How Can I Use SMTP And ASP To Send Mail To Several Recipients On A Single Occasion?

I use CDOsys and this code to specify the recipient. I guess I could create two separate instances of the objMail and specify everything one more time, but I want to send mails to two persons at once (the recipient and myself) and therefore wonder if there is a shorter way to do it.

View Replies View Related

How Do I Install/find SMTP To Send Web Mails Using CDO/CDONTS In XP Pro?

I want to send e-mails from my asp pages but don't know how to achieve that. I have tried to create CDO/CDONTS server objects but without luck. I guess I don't have SMTP installed or not configured appropriately.

Can you help me here? What do I need to do (and if complicated how is it done) to get an SMTP server up an running?

View Replies View Related

Check If I Have SMTP Installed And Send Automatic Confirmations?

Since I want to be able to send a confirmation e-mail (containing user name/pwd etc.) to every visitor that enters some info in a form on my web page I wonder how that is done.

I have heard about SMTP and CDO but don't know the differences or which one is applicable in my case

I'm running xp-pro and use my computer as a web server but don't know if I have SMTP installed (or how to use it if it actually is there).

View Replies View Related

Get .Send Status In CDONTS Or CDOSYS

I put the following code into my mailer: Code:

if objIndexMail.Send then
Response.Write("Mail Sent")
else
Response.Write("Failure. ")
end if

and it's coming up as Failure every time. Is there a way I can see the status of the .Send command, and why it came up as a failure? no errors are being generated, it's just not sending..

View Replies View Related

Upload Files And Send E-mail Using CDOSYS

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 Related

CDOSYS Access Denied On ObjMail.Send

I'm running IIS 6.0 with Exchange 2003. One web site that is hosting is trying to use the new CDO method of sending e-mail.

SMTP Service is working fine for Exchange, but for web sites on the same box using code below generates:

CDO.Message.1 error '80070005'

Access is denied.

/test.asp, line 15

Site: http://www.ytr.com/test.asp

Code: ....

View Replies View Related

Sending Email Without SMTP?

can we send email from our internal server without using an external SMTP provider?

View Replies View Related

Sending Email With Smtp Auth

i've been looking EVERYWHERE and I can't find anything on how to send an email within asp. But not just an email, my smtp server requires authentication and i haven't been able to come across anything that supports sending username/passwords.

View Replies View Related

Using SMTP/server-side Email

Is it possible to set up server-side mail services such that when someone
e-mails to a certain address, the contents attached to that mail are
processed and the processed content is returned to the user, again, as an
attachment?I installed a server-side component for managing graphics. "Wouldn't it be
nice," thought I, "if untutored staff could email graphics to a certain
e-mail address to have them resized and returned to them.")
I understand how to handle the graphics processing and the sending. I don't
understand how to set things up so that e-mailing to a certain address will
trigger the start of an application. Ideally you could do this all within
ASP. Is this possible?

View Replies View Related

Broadcast Email Service

Does anyone know any good mass emailing service that would connect to my members DB??. maybe an API of some sort. I found this so far: http://www.jangomail.com/ but not sure it there are any better ones out there.

View Replies View Related

Sending Form Via Email - CDONTS / SMTP

I have Road Runner cable internet access and Im working in a local development environment (writing .ASP) and have a site running on my network on a windows xp pro machine via IIS with CDONTS installed.

When I try to send a confirmation email (simple text) via CDONTS the message is built but remains on the server in the QUEUE folder ... how can I tweak the SMTP settings on the server to allow me to send email out from the server...

just the occassional test as I develop sites - not looking to spam and have a fairly full featured router to block external access to SMTP machine so its not abused.

View Replies View Related

Looking For Free Form To Email Service

I am developing somthing that relies on CDONTS on my machine. For the purposes of demonstrating the work, I need to find a FREE service that will take form data submitted to it and forward it on as an e-mail (just as my own CDONTS script would)Does such a service exist?

View Replies View Related

Blank Email Entry In Database (SMTP Badmail)

When a file is uploaded, notifications go out to Admins. Currently Admins have the ability to have 3 email addresses that the notification can be sent to.

Now lets say they only have 1 email address for a contact. When I run the code below, it cycles through to everyone that needs to be contacted and sends email to all 3 addresses.....BUT #2 & #3 are empty and then in my SMTP folder I receive a bunch of files in the badmail folder.

I need to correct this so that I can eliminate having to go and purge on a daily basis.

Now I am sure that there is a better way of doing this... I inherited this and am looking for some help with correcting this....

View Replies View Related

Email & CDOSYS

does 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

View Replies View Related

CDOSYS: No Email Is Getting Sent

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: ....

View Replies View Related







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