Sending Email By Using Corporate Exchange Server Instead Of Local Server
I have created a form that sends email thru my local server. What I want to do is send the email thru our corporate Exchange server. Does anyone know how I can accomplish this task? Please advise. Thanks.
I'm sending email from a networked computer that uses an exchange server on yet a different computer. With the two different types of code posted below, the email will only send successfully on my computer. When I step into a colleague's office (using the same exchange server), no email is ever sent....
Is it possible to create an ASP page that can notify the user that they have an email on our Exchange server? And that will list the number of unread emails they have waiting in their inbox.
I work in a corporate environment where they have been restricting (preventing) more and more of what we can view on the internet.I think they restrict that through the proxy server... in Internet Explorer, in Internet Options under LAN Settings, we use an automatic configuration script.
Any way... to make a long story short and to be as truthful as possible, I still want to view my fantasy football web sites. My question is, is there a way I could code something to get around this? For example, I do have space on a server that runs ASP, so could I code something that would allow me to get around this?
I have worked with CDO mail before at a different job, but at that job I was developing internet sites, and now I am developing Intranet apps. We have the following setup, WWW/SQL on 1 server, mail server, PDC and SDC (and Proxy), all OS's are Windows 2000 Server (except Proxy, it is NT4).
What would be the best way to allow sending emails from ASP?
I am not an expert but I am trying to create an application where I need to connect my website to the user's(basically my client) database in access and then I will read the values from the database in the local drive and upload all the values in the database at my webspace. I will have everything like the database name and the password....so how can I do this
I require an Asp script that will enable me to get all sizes of mailboxes held on Exchange Server v5.5. What I want to achieve is to list all users with a mailbox over a certain Kb size.
I am an intermediate with ASP and i'm not sure if this is possible but i'll give it a shot. I am creating a Listserv (newsgroup) and I want them able to reply to messages in there email. Right now I have sign up form online which connectes to an access db which stores the emails. The admin uses a web based form to send letters and if the subscribers want to send a message or reply they have to use another web form. How can I use exchange server to eliminate the web based forms?
So basicly I want them to reply in like outlook, but the emails are all in access. So when they reply to the list email (list@home.com), somewhere in the exchange server the server will read the db and send the message to the subscribed emails.
I have a form with a input text box where a user has to enter a work email address.Is there anyway that he or she can click a link which will open Microsoft Outlook and list all the work email addresses, thereby selecting an email address which will be automatically inoutted into the input text box?
I have developed a fairly simple CMS for my intranet at work - I would like to have a "Request a photographer form" that e-mails me the posted data by utilizing our intranet exchange server, if possible.
I'm not really looking to code this but I will if I absolutely have to =) Anyone know how to do it or where I can find a simple form script that does? I have found lots that work with sendmail and other types of servers but none for exchange.
How would I be able to simply read an MS Exchange Server 2000 mail and transfer it to a SQL Server 2000 database programmatically. I need reference for this an has been unsuccessful in looking for any for the past week already.
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.
I use the method below to send emails from an asp page that's part of a web application:
<!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000 Library" --> <% On error Resume Next Dim cdoConfig, cdoMessage
Set cdoConfig = Server.CreateObject("CDO.Configuration") With cdoConfig.Fields .Item(cdoSendUsingMethod) = 2 .Item(cdoSMTPServer) = "MailServer.Name.com" .Item(cdoSMTPServerPort) = 25 .Update End With Set cdoMessage = Server.CreateObject("CDO.Message") With cdoMessage Set .Configuration = cdoConfig .From = "Me<mailsender@mymail.com>" .To = "You<mailrecipient@somemail.com>" .Subject = "Surprise!" .TextBody = "Helloooo..." .Send
If err.number Then Response.Write("Houston! We have a problem...") End If End With Set cdoMessage = Nothing Set cdoConfig = Nothing %>
On the production server (Windows 2003 Server) everything works fine and I don't have a problem sending the mails from the application. However, I recently upgraded my development box to Windows XP Pro SP2 and the code fails with with the following error:
CDO.Message.1 (0x80040213) The transport failed to connect to the server.
The from and to email addresses that I'm using are valid and part of my domain (not a Hotmail or other freemail address).
The SMTP service is up and running on the dev box.
I also tried replacing the mail server name with the IP address of the mail server, but again it's failing.
We are running Exchange Server for email and if I change the cdoSendUsingMethod to 3 (for cdoSendUsingExchange) the mail is sent correctly without errors.
Will I not able to use the cdoSendUsingPort method to send the email if I'm on Exchange? Am I forced to use cdoSendUsingExchange?
I am having a problem here to send my asp form to my email! I am using CDONTS under w2k and IIS! when i submit the form, all of the message (that suppose to go to my email), went to the queue folder under wwwroot!! nothing appear to my yahoo email also... that means that my script is working...but only the configuration is need to be adjust here!
the thing is that i dont know how to configure, setup or setting the configuration for Exchange server! since my organization uses exchange server instead of the SMTP!
Im trying to create an application that when sent an email, retrieves the email, and uses its content to create an MS Outlook/Exchange task request.
I have everything else in place, but when I try to connect to CDO's MAPI interface, I get [Collaboration Data Objects - [MAPI_E_LOGON_FAILED(80040111)]] error messages. I've tried numerous examples from books and the internet to no avail.
Could anyone shed some light as to why this is so? I've also exhaustively searched the archives on this site for examples and used some of them but I keep getting the same errors. Code:
I am using MS-SQL Server2000 on my PC & my webhost is also using the same version. Now the problem is that I have a lot of data in my local database which I want to port my database on my web-server. Since its lots of data, I can't enter it the conventional way of data-entry. Can someone tell me how to do it.
An application runs on server, and is used for Hour-registration. Now I want to run the application local, I use SQL Server 2005, and managed to fix connection changes.
But now, I get this error everytime I run the application:
Microsoft VBScript runtime error Error Code :0x800A01CA
Error source : Error Description :Variable uses an Automation type not supported in VBScript
I have the following code, that retrieves the emails from a designated inbox, stores the message and subject content in a SQL database and then deletes them from the exchange server. Now I need to take the attachments for each email and save them on a different server.
I've researched this all day, and I keep finding references stating that I can download the file using, X-MS-ENUMATTS. I'm using it currently to retrieve a list of attached files, however I fail to see how I can download the attachment to my webserver using this.
The red code below is a request to the actual file. So I know the http path to the file, how do I go about saving it to my server? If I can't downlaod it without any user interaction, is there at least a way that I could allow the user to download the file via a link, without them being prompted for a username or password? Code:
What is the best way to set up a server with MSSQL on your local machine. I have IIS set up, and am wondering if there is some way to get MSSQL for testing purposes for a reduced cost? From what I understand, a typical MSSQL license is around $8,000, am I right
I am using Windows XP Pro, and since I updated to Internet Explorer 7 I am having problems getting web sites to work on my PC in Internet Explorer using the local IIS web server. These web sites are using ASP and Access databases.
The two errors I get are: Operation must use an updateable query or Cannot modify the design of table 'TABLE_NAME'. It is in a read-only database.
Does anyone know how I can get this working so I can test my web sites locally before uploading them to the live sites?
I have a SQL server db set up locally. I have a local DSN set up. I have DW connected to the SQL server db and can create Bindings and use Server Behaviors without any problem. When I try to test the site locally in the browser, I get the following error:
"Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "xxxxxxx" requested by the login. The login failed."
What i want to do is pass strpath1 to my locally ran script which is the bit at the bottom but i cant find a way to do it i have tried request.querystring("strpath1")
im trying to create a intranet site which copies files to the server. im guessing i should use filesystemobject to achieve this but im not sure on how to accompish this.
anyone could assist me in finding an ASP script to find the current playing media in a local Windows Media Services server. Since the particular stream is a broadcast, it will have constantly changing media.
On a remote server running W2K and thus IIS 5 I have session variables declared in a global.asa file in the root of the application which are passed and visible on all pages with no problem. This was also the case on my localhost before (127.0.0.1), also on W2K / IIS 5. But now for some reason one variable doesn't pass through at all and the other is taken as a String on the localhost.
The problem area in question in my Global.asa file (which is identical on the remote and local servers)
<script language="vbscript" runat="server">
Sub Session_OnStart CInt(Session("indx"))=0 CInt(Session("total"))=0 ... End Sub
Having finally mastered freeASPUpload, I really want the files being uploaded to the web server to automatically be forwarded to my local inhouse server. I'm sure there has to be a way.