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 Repliesi 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 RepliesI'm trying to send mails from asp page.Its showing error.Permission denied.When I checked the IIS settings SMTP server showing unnknown. I cannot start the SMTP server. Wat shall ido to start the smtp server.
View Replies View RelatedI 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
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): .....
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 RelatedI'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: ...........
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: .....
I am working on a listing for sending emails via CDONTS component...
I have installed SMTP service on my machine and tried running the sample code....No errors appear, yet no mail is sent in the long run...All necessary services are up and running (IIS Admin, WWW and SMTP).
Another thing is that i have checked to see if Default SMTP Virtual Server is listed under the Internet Services Manager pane tree, but nothing seems to be there except Default FTP Site and Default Web Site....
The question might seem silly but...do i have to have a Mail Server installed.....?
How can i determine the cause that prevents the mail from being sent...Logs don't help much....Is there a way to detect the actual presence of the component...?
Our network administrator does not want to install the IIS SMTP server on
our intranet. He wants me to use our existing SMTP server
"mail.smpi.siemens.ca". Can I do this with IIS?? Is this a setting in an
ASP if I'm not running the IIS SMTP server?
We are running on Windows 2000 SP4 with IIS5.
Iīve ran into trouble after a server upgrade. Win server 2003, IIS ver. 6.
All regional settings on the server is swedish(thatīs what i want) and it
looks correct in all ways but when running the date function in a asp page
it returns english short date format 24/5/2004 when I think it should be
2004-05-24.
The problem is that the application assumes swedish short date format.
Iīve read somewhere that the IIS server account has itīs own settings, how
do I change this ?
I have asp pages that call a database and sometimes updates it. The pages are under the root the database is in a db folder under the root. My server guy isn't too sure what the
permissions should be on the server to these folders (root & db). Can you give me some general instructions for this? Or point me in the right direction for the answer?
I was testing the date formats with different values set to Session.LCID and then I removed the Session.LCID completely from my asp page and expected the date format to show according to the Regional settings of the server but it was showing the last format of the Session.LCID.
My question is how to remove the value which I previously set to Session.LCID because I want to use back the date format from the Regional settings.
Another newbie's questions
How do I find my STMP server ( I need it to use AspSmartMail)?
My web site is being hosted on a .com , do I have to ask them? Or can I find it by myself.
anyone know if this is possible? I need to specify a different one than the default.
View Replies View RelatedAnyone has ideas how to send an email through ASP without having an SMTP server? I'm currently building a website which needs emails to be sent when users submits a form, however the web space provider doesn't not have an SMTP server. I'm now using CDO on my local testing server (with SMTP installed) and it works, but I just don't know how to get it working after uploading it because the remote server hasn't got SMTP on it.
View Replies View Related1. I wonder, why do I need to add the following lines when sending forms through mail, using CDO component?
2. If I remove these lines and the form is still submitted as it should, and I get the mail as a result as it should, does it mean I do not need these lines?
3. In other words - How do I know if an SMTP service is installed on the local server, and not in another network (besides asking the admin)? Code:
I have no knowledge of Exchange server, and have always used CDO to send emails from ASP in the past. the server in question doesn't have SMTP installed alongside IIS, it has Exchange installed which apparantly does have SMTP capabilities but not like the default ones normally accessbile via IIS.
Has anyone ever used this approach to sending emails? I'm hoping that I dont need a component or anything else, just some changes to my existing email code.
Is it possible to logon to the SMTP server that comes with IIS from a machine other than the actual server. Ideally I would want to put some VB Script in an SQL Server Job Schedule or an ASP page that uses CDONTS and use it to pull the emails into the database. The SQL Server is on another machine on the network. Is this viable.
View Replies View RelatedIs 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?
I have an application which sends emails. Currently we use the mailenable web server.
If an email is not sent successfully then we want to update the email address in our database as unreacheable automatically.
In other words we want a mail server that when it gives up sending an email will do an http post, or will somehow communicate with our software so that we can update our database. if ther is a mailserver which will do this?
My question is do ASP need to declare smtp server when send email using CDonts function?
View Replies View RelatedNot sure which forum this belongs in, so here it is here as well as in the IIS forum
I am migrating a Windows 2000 Server Web Server with an older version of IIS to a new Windows 2003 Server with IIS 6.0.....Everything is working properly accept web forms which simply send an email via a SMTP service installed in IIS:
this is the code: ....
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?
I was told that I need to replace CDONTS with CDOSYS. Code:
View Replies View RelatedI wrote an app several years ago that has only just begun intermittently failing on a particular stage in a series of sql queries. When I wrote it I wasn't familiar with transactions and so didn't bother implimenting them.
Since then I've moved from ASP to PHP and have done several applications that used the ADOdb library's transactional features. Now going back to ASP I'm having a hard time finding any information on how to actually impliment a transaction from an ASP page for a set of queries that are not part of any stored procedures.
For instance, how am I to know when an error occurs and that I need to roll back? Do I need to set OnErrorGoTo = 0, then check for an error at the end of the sequence and roll back if one occurred?
If anyone could post a small example of ASP code that includes a few queries executed with an adodb connection object, wrapped in a SQL transaction, that would be most beneficial.
The webserver I'm using (which I can't make any changes to) has a
Dutch-localsettings. When doing simple calculations the decimal-symbol in
ASP is a , (komma). Is it possible to force IIS to use a . as decimal symbol
by code? (IIS5)
trying to connect to mySQL4...using....
set conn = server.createobject("adodb.connection")
conn.open "driver=MySQL ODBC 3.51 Driver;database=kraken1"
Set rs = Server.CreateObject("ADODB.RecordSet")
SQL = "SELECT * FROM Access"
rs.CursorType = adOpenKeyset
Set rs = conn.Execute(SQL)
And what i get is the error...
"Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype."
Is adOpenKeyset NOT the cursor to use????
I have a problem with the regional settings. I have set the regional settings of the web server to display the numbers in this format 123.456,78. But when I open my web site all number are diplayed with the old format which is 123,456.78. I changes also the regional setting of my computer but it does not work.
View Replies View Relatedis there a way to reset all iis settings? i have tried a reinstall but still have problems. the main one being i cannot see any pages on a website it says page not found when i know there are pages there . i have even switched on directory browsing and clicked through directories to get to any asp pages and it just says page not found . i think its something to do with permissions but cant correct it so i want to reset to original settings, can i do this?
View Replies View RelatedThat was the first question. BTW, I am using Windows 2000 Server.
Second questions is how do I transfer session variables from one virtual
website to another website. Currently I have session variables set in say
www.first.com and then I click a link and goto www.second.com. How can I
transfer session variables from www.first.com to www.second.com? Both sites
are virtual websites and running on the same physical server running Windows
2000 Server and IIS.
Is it even possible to transfer session variables between 2 websites? Or
share the same variables?
how can i tell the user location (from the ragional settings?) in asp? i have a website written in several languages, i want to check the user country and redirect to his language automatically.
View Replies View RelatedIn a asp.net app in the web.config the session state can be looked after by the data base - the settings need to be entered into the web config such:
<sessionState
mode="InProc
stateConnectionString="tcpip=127.0.0.1:42424
sqlConnectionString="data source=127.0.0.1;user id=sa;password=t09
cookieless="false"
timeout="1200"
/
Our problem is that we do not want to expose the password of the data base user here - rather maintain it in a dll - is there a way for the code behind classes to set the user/password programmatically ? and if so how?
Is it possible to declare the window settings (like toolbar displayed, width and height, etc.) when a page is loaded? Or is it only possible when with a link to a page? And is it possible with ASP only, or do you need javascript? Does anyone has some examples/tutorials?
View Replies View Related