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


ADVERTISEMENT

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

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

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

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

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

Mail Using ASP (POP And SMTP) Help!

I have a website and I need visitorst to be able to send emails to me from it by filling out a form (not mailto:).

I have Win2k3 server enterprise running with IIS and POP3 all setup. My provider blocks port 80 so i redirect using no-ip.com to another port. I tryed CDOSYS and other free third party mailers (currently I have Persits Software free ASPemail installed), but I can't get anything to work. I know by now that I need to set something up (maybe some redirect) on my server so this works.

Please, if anyone knows how to do it, tell me how. In particular, to send an email from my site to at least my local server, and at best to lets say hotmail.com.

View Replies View Related

SMTP Mail

I'm having problems getting CDO.Message to work with SMTP on my Windows 2000
Server. I keep getting the following error:

CDO.Message.1 error '80040213'

The transport failed to connect to the server.

/services/E-CommerceQuote_new.asp, line 2357

I am assuming that it is meaning it can't find the server i have specified
where the SMTP server is, which is the same PC. I have specified by IP and
domain name but i get same error. i know i haven't said much about the setup
im using so if needed i can provided more details.

Does anyone know how to fix this problem?

View Replies View Related

SMTP Mail Question...

I run a small website for a membership organization - and I have created an
ASP front end for an access database that allows the board members to manage
their membership roster (names, addresses, membership dues paid, etc)...

Part of the site is an ASP SMTP script that allows members to send emails to
all the people listed in the access database. It's a simple script that
just loops through the database and sends an individual email to everyone in
the database. There are a few drawbacks to this method...

The email gets sent from my server, but the return address listed in the
email is from the individual user that sends it. As a result, a percentacge
of recipients don't get the message, because their mail server does a
reverse check and finds that there is no matching account on the originating
server. It would be impossible for me to give all the users mail accounts
on my server - and it would be a redundant nightmare to manage it.

So, my question is: Is there a solution, like a listserv, which can be
integrated with an existing database of users? Obviously, I don't want to
keep a seperate listserv - the whole idea of the membership database is to
only have one database to update. ie: when a users email changes, I don't
want to update it in two places. Also, it would be nice to be able to
automatically identify obsolete addresses (bounces) and flag the records in
the database. And finally, I'd like to have a solution that solves the
reverse-lookup problem.

View Replies View Related

IIS & SMTP Mail Sending

I tried to cend mails with CDONTS.NewMail and the local smtp service of the iis. It works. BUT I tried to send a mail to a invalid address. I got an email (like I configured at the smtp) but the badmail directory is allready empty! I nned the entries for a bounce-management!

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

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 Replies View Related

CDOSYS - Not Sending Mail?

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

View Replies View Related

ASP Sending E-mail With CDOSYS

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 Related

CDOSYS Mail In JScript

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

View Replies View Related

Sending Htm Mail With Cdosys To Hotmail

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??

View Replies View Related

Blocking CDONTS/CDOSYS Mail

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?

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

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

Sending Email Without SMTP?

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

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

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

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

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

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

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