Microsoft Exchange Server
Do any of you know a free PHP script that does the same stuff as Microsoft Exchange Server?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Mail() And Exchange Server Questions
I am trying to send mail externally from my SMTP server(exchange 2000) using mail() function. I have no problem if I send to a internal address (christopher.seidel@jerovsek.si), however if I try to sent to a external address (chrisseidel@hotmail.com) I recieve Warning: Server Error, do I need to authinicate to the exchange server who I am so I can send external e-mail, or is this a different problem? *****************Source code************** <html> <? $header = "From: URL Reply-To: URL"; $to = "someone@hotmail.com"; $message = "lots of text 12345678910"; $subject = "Blah Blah"; $send_result = mail( $to, $subject, $message, $header ); ?> </html> *****************configuration************** PHP4.04 Exchange 2000 IIS 5.0
Mail() And Exchange Server Questions
I am trying to send mail externally from my SMTP server(exchange 2000) using mail() function. I have no problem if I send to a internal address (christopher.seidel@jerovsek.si), however if I try to sent to a external address (chrisseidel@hotmail.com) I recieve Warning: Server Error, do I need to authinicate to the exchange server who I am so I can send external e-mail, or is this a different problem?
Sending A Mail Through Exchange Server
I want to send mail through PHP using the MS Exchange server. My php.ini file looks like this (for the MAIL functions) ------- [mail function] ; For Win32 only. SMTP = exchgserver.test.com smtp_port = 25 ; For Win32 only. sendmail_from = thegoodboy@test.com ------- The following extensions have been loaded as well. extension=php_imap.dll extension=php_ldap.dll After making these changes there were no errors/warnings. But I'm unable to send any mails. What are the other changes that i should do to send mails?
No Formmail Results Via Exchange Server
I have formmail.php set up on a site to process a short form and include an attachment (a resume). I receive my copy of the form results with the attachment just fine, but my client is not receiving his copy. My client uses Exchange Server, so his mailbox is not set up on our webhost, but I created a temporary box to test the form, had it forward to my email address and received those results too. I then sent a test email directly to the address specified in the form and they DID receive the email. Seems like the results are being filtered out somewhere along the line - possibly because of the attachment - however the results are not appearing in the Exchange Server spam folder.
SQL Error: [Microsoft][ODBC Microsoft Access Driver] Too Few Parameters
I'm trying to execute the following SQL statement and get the following error. SELECT DomainNames.DomainName FROM DomainNames WHERE DomainNames.DomainName Like "*ab*" ORDER BY DomainNames.DomainName SQL error: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1., SQL state 07001 in SQLExecDirect I'm running PHP4, Apache 1.3.12 (Win32) and connecting to an Access database on a Win2K box.
Odbc_exec(): SQL Error: [Microsoft][ODBC Microsoft Access Driver]
i am trying to write to the database through odbc. i get the following error: Warning: odbc_exec(): SQL error: [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query., SQL state S1000 in SQLExecDirect in c:inetpubwwwroot514VIP_SurveyProcess.php on line 41 my directory has read/write permissions why am i getting this? here is the code as an example: ... $x = 10; $querySet = "UPDATE Survey SET $rdoOption = $x"; odbc_exec($objConn, $querySet); ...
PHP Equivalent For Server.CreateObject("Microsoft.XMLHTTP") In ASP
I'm new to PHP, so I'm trying to figure out how to do things that I used to do in ASP. One of those things is getting data from another web page, server-side. In ASP, I'd do this: Set objXML = Server.CreateObject("Microsoft.XMLHTTP") objXML.open "GET", strURL, False objXML.send() I could then use regexp to pull out data from objXML.responseText. How can I do the same thing in PHP?
Exchange, Com And Php
I have a problem with access to Outlook (with Exchange Server) through com in php. I have SBS2003, IIS 6.0 and PHP 4.3.4. The script with only: $outlook = new COM("Outlook.Application"); echo $outlook->version(); is executing 30 seconds and stops. There's no error's but instrance of Outlook starts as IUSER. I put privaledges to Public Folder (in Exchange Server) and even I create Mail Account for IUSER but it nothing changes. I think the problem is with privaledges becouse word and other MS Office applications works thourgh com.
Exchange Rate
anyone know of a source I could query from a php doc for up to date reliable exchange rates? I don't want to have to continually update manually.
Mail() With Ms Win Nt And Exchange.
I am trying to get the mail() to work with a Windows NT 4.0 server, running PHP3. I receive the following error: HTTP Error 405 405 Method Not Allowed The method specified in the Request Line is not allowed for the resource identified by the request. Please ensure that you have the proper MIME type set up for the resource you are requesting. Code:
Mail() Funtion And Exchange
I get an "unknown error" when attempting to use the mail() function to send email in a PHP script of mine. I'm guessing that this problem has something to do with the fact that my host is running NT with Exchange server. At this point I'm not sure that Exchange is actually up and running yet. If this is that case, merely getting exchange up and running may fix the problem. If that's not the case does anyone know what sort of finessing exchange needs for the mail() function to work properly? I can't seem to find any literature on PHP and NT. Perhaps I just don't know enough about how NT works to get things straight in my head (e.g. what would the equivilant, on an NT machine, of popen("/usr/sbin/sendmail -t", "w") be? )
LDAP/Exchange Authentication
Anyone know how to authenticate via LDAP onto an Exchange Server and retrieve an email address for the user logged in? I can connect, bind but my ldap_search() fails miserably and I can't find much help on the Net anywhere.
PHP Banner Exchange Scripts?
Does anyone know if theres any PHP banner/link exchange kits out there? I have seen plenty of CGI and ASP versions but not PHP. Anyone seen any?
Mail() And Exchange 2003
I work for a small college in Virginia and we were running Imail up until December. During the Christmas break we migrated to Exchange 2003 and we are running GFI Mail Security and GFI Mail Essentials and it is running on a Server 2003 box. We have all of our web applications housed on a Red Hat 9 box. Since students have came back and started using our applications, we've noticed the mail() function is no longer sending mail. It doesn't seem to give us an error or anything. Just doesn't pass mail to our users even if they use an outside email address such as Hotmail or Yahoo. I looked around and found out that Exchange doesn't have some of the functionality with SMTP and other Internet protocols so is there a way I can get my email forms to work again?
PHP Webdav/ Exchange Question
I have been working on a php application interfacing with exchange, my application works with PROPFIND but when I do a search I get an error 400, can anyone point out to me why, I do a METHOD SEARCH, my code is below: My query is well formed and works, so my header request may be incorrect? HTTP_REQUEST_METHOD_SEARCH=SEARCH $req = &new HTTP_Request($url); if (is_string($username)) { $req->setBasicAuth($username, @$password); } if ($method!=HTTP_REQUEST_METHOD_SEARCH) { $req->setMethod($method); $req->addHeader("Depth", "1"); $req->addHeader("Translate", "f"); } else { $req->setMethod($method); // $req->addHeader("Depth", "1"); // $req->addHeader("Translate", "f"); } $req->addHeader("Content-Type", "text/xml"); $req->addRawPostData($query); $req->sendRequest(); if (PEAR::isError($req->sendRequest())) { echo "ERROR:".$req->getMessage(); } $responsecode=$req->getResponseCode();
Creating The Stock Exchange
How would you go about creating a Simulation Stock Exchange? I basicly just want, a few companies(made up), and they all have a starting rate of $2.00 , and some how code it so it increases or decreases at a maximum of $2 difference, and is updated say every 10 minutes. and would you need a database for this to work?
PHP On Microsoft-IIS/6.0
Is it possible to make IIS parse .html files the same way as Apache does with AddType application/x-httpd-php .html in .htaccess?
Need A Good Banner Exchange Program
I need a good banner exchange program that allows me to approve members and give them the ability to list diffrent sized banners anyone know of any good free or cheap ones?
Any PHP / Exchange Experts Here (about Mail Relaying) ?
My IIS / PHP / MySQL and Exchange are on the same box. To allow PHP to send mail I need to add my servers IP to the "Granted" list for the SMTP Virtual Server in Exchange, however, this opens me up for spam relaying. If I remove the IP, PHP generated mail no longer goes out (either using mail() or PHPMailer). Is there any combination that I can use to stop my server from relaying AND allow my PHP mail to go out ?
Multiple Page Link Exchange
I am in need of a PHP Link Exchange script (preferably free) that is not for single pages. The use of this script will be for having 4 pages on the website - the home page with paid links for $1, and then 3 other pages for free link exchange (Free Links Page 1, ...2... and so on) If you know of a script out there then please post a link to it here. It would be a huge help to me and I greatly appreciate it. I saw one almost a year ago on the HotScripts Most Poplar page, but cannot remmeber it nor find it in HotScripts now.
Microsoft SQL Connection
I am looking to have a php page that will have a required include of a config file with the MS SQL connection creation. I want to have a form that saves into a MS SQL database. Could call out to a stored procedure or have inline code in the php page. Anyone have examples or generic sample code I can use?
PHP With Microsoft Sharepoint ?
I would like to ask if I can synchronize Sharepoint Services with my PHP website? Hint: I think it can be done by XML as a bridge.. but I am not sure and wanna be sure.
PHP And Microsoft Access
Is it possible to use php to interface with an ms access database? Our current database (customers, suppliers etc) is in ms access format and we need to run msaccess. I dont feel like converting the whole database over to mysql and we still need the original system, the idea will be that the staff can access the database on the road thru a webpage.
PHP And Microsoft Word
I have users who can sent a Word document as an attachment to an email from a Microsoft-rich environment. I would like to be able to "capture" that attachment as a blob and deposit it into a mysql database. I am not sure how to do the capture.
PHP To Microsoft Outlook
Is it possible to send meeting notifications to microsoft outlook through php? I guess it would be sort of an e-mail sent to an individual telling them they have been invited to attend an event and the event info is automatically added to thier outlook calender or something?
Is This Code Looking Good To Exchange PHP Session ID Between Flash And PHP
Can some Flash guru tell me if this Flash code is OK to set / retrieve a cookie for exchange with PHP? stop(); var ses:string; //create the local Shared Object myLocalSO = sharedobject.getLocal("hookie" ); if(_root.destroy) { myLocalSO.data.name = "destroyed"; } else { //if cookie already exists then get ses from cookie if (myLocalSO.data.name.length == 32) { ses = myLocalSO.data.name; getURL("index.php", "_self", "GET"); } //if cookie does not exist then make it else { myLocalSO.data.name = _root.PHPSESSID; } ses = myLocalSO.data.name; getURL("voter.php", "_self", "POST"); }
IMAP - Flags Not Being Applied To MS Exchange Emails
I'm using the PEAR IMAP implementation to read emails from an MS Exchange 2003 Server, so I can store them in a MySQL database. I can see from the communication (below) between the PHP program and the server that the commands are being accepted and confirmed. The message (2) starts as 'not seen' and then gets marked as 'seen'. C: A00015 FETCH 2 FLAGS S: * 2 FETCH (FLAGS ()) S: A00015 OK FETCH completed. Message 2 is unread...<br> C: A00016 STORE 2 FLAGS (Seen) S: * 2 FETCH (FLAGS (Seen)) S: A00016 OK STORE completed. C: A00017 STORE 2 +FLAGS (Seen) S: * 2 FETCH (FLAGS (Seen)) S: A00017 OK STORE completed. C: A00018 FETCH 2 FLAGS S: * 2 FETCH (FLAGS (Seen)) S: A00018 OK FETCH completed. Message 2 marked as read<br> When I reconnect and examine the email, it shows as unread again. Is there some kind of 'UPDATE' or 'APPLY' command I need to use with Exchange?
Exporting To Microsoft Access
I have a PHP website with a mySQL database and a client wants to be able to see the database on his computer using Microsoft Access. I would like to be able to make a special backdoor section for him, where he enters his username and password and is given a link which will make take a snapshot of the mySQL database and convert it to a Microsoft Access database which he can download to his computer. Is this possible? Since he isn't very computer savvy I need a way as user friendly as possible to let him download the database and view on his local computer.
Microsoft SAPI Problem With PHP
As I've found tons of VB and C# sample codes, I was trying to transform it into PHP code, using the COM objects. My aim is to create a simple html, that creates a wav from a text. Here's what I've tried -the php script part-: $Voice = new COM("SAPI.SpVoice");//works //com_load_typelib("SAPI.SpVoice"); //This doesn't help... $Voice->Speak("Hello!"); //works $FileStream = new COM("SAPI.SpFileStream"); //works - I mean no error $FileMode = SpeechStreamFileMode.SSFMCreateForWrite;// = 3 //works - no error $FileStream->Open("c:a.wav", 3, false); //works - no error $Voice->AllowAudioOutputFormatChangesOnNextSet = false; //works - no error $Voice->AudioOutputStream = $FileStream; //HERE'S THE PROBLEM $Voice->Speak("Hello world",1); $FileStream->Close(); Here's the error I get for that line: Uncaught exception 'com_exception' with message 'Error [0x80020003] Member not found
Microsoft Access -> PhpMyAdmin
Alright, so what’s going on is that I have coded an entire website with in mind to have an Access Database. So everything works great... But now I am faced with the problem that I have to have my webpage work with phpMyAdmin, which works completely differently in running my sql statements and everything, ie: ->EOF, select statement, etc... Is there a way for me to have a smooth transition for my code to work with phpMyAdmin instead of Access at the moment, because recoding all of this means an enormous amount of work with not much free time left on my hands. Code:
Displaying Currency Exchange Rates On A Page For Product Price
i want to display the price of a product on my site in multiple currencies that is constantly updated to keep in line with exchange rate fluctuations can anyone tell me how i could get access to basic exchange rate data automatically for my site? (just a few major currencies)
Parse Error For Microsoft.XMLHTTP
I want the following ASP code to be rewritten in PHP: <% Set xml = Server.CreateObject("Microsoft.XMLHTTP") xml.Open "GET", "http://www.mydomain.com", False xml.Send Response.Write(xml.responseText) %> I tried myself with ASP2PHP conversion tool. The following code was generated. But does not work. I get a parse error. Please help! <?PHP $xml->Open "GET" "http://www.mydomain.com" $False; $xml->Send; echo $xml->responseText; ?>
Any Ideas How To Run Macro In Microsoft Publisher Through PHP COM ?
my macro in Publisher changes "123" into "321" (example) but I can't be able to run it. This is how far I get throught with PHP & Publisher: <? $pub = new COM('publisher.application') or die('Unable to load Publisher'); print "Loaded Publisher, version {$word->Version} "; $pub->Open('xxx.pub'); $pub->Documents[1]->SaveAs('xxx2.pub'); $pub = null; ?> this works, but of course does not do anything else than open xxx.pub and save it as xxx2.pub. I am trying to run my macro: $pub->Documents[1]->RunMacro(replaceme); where replaceme is my macro. I tried different variations: $pub->Documents[1]->Run(replaceme); $pub->Documents[1]->Application->Run(replaceme), etc but no luck so far :(
Microsoft Access Dropdown List
l am building a new site using PHP which has a lot of pages pulling from an Access Database. I would like to have a dropdown list that pulls exhibitions from the database and then when the user selects one it shows the rest of the details from DB just below the dropdown list, hope that makes sense. Code:
Reading Microsoft Office Documents?
I need to be able to upload a Microsoft office document and then show the contents to the visitor, in addition i need to be able to write documents on the fly. Is there a way of doing this, or will i have to spend days researching and programming my own classes to handle it?
PHP Will Not Read More Than 4096 From My Microsoft Sql Text Field.
I have a textarea that is saving to a mssql text (very large) field. The insert, update is working fine. However, when php reads the data using mssql_result function, I'm getting limited to 4096 characters read by php. I know that there are at least 6000 characters and I can see them using microsoft's query analyzer. This is not a magic quotes, single quote, quote, html entity or anthing like that. PHP will not read more than 4096 from my microsoft sql text field. Any ideas how I can get php to read more?
Insert Into Microsoft Access Table Using ODBC
The following lines of code don't return an error but they also do not insert the row into the database: $SQLText="Insert into member (MailingID, MemberID, [File As], EMail, LetterID, AudienceID, DateSent, Sent) Select $MailingCode, $row[0], '".$row[5]."', '".$row[6]."', $LIDToInsert, $AIDToInsert, '".$DateSent."', 1;"; print '<br>'.$SQLText; $rs_upd=odbc_exec($link, $SQLText); if (!$rs_upd) die("Couldn't update database"); I've tested the resulting $SQLText string in Access directly and it works find there so this must be a PHP or ODBC issue.
Microsoft JET Database Engine Error '80040e10'
I am new to ASP, I am trying to create a page using ASP that will read from a database and write to my page, but I get this error every time: Microsoft JET Database Engine error ?e10' No value given for one or more required parameters.
Microsoft And Zend Announce Collaboration To Enhance PHP On IIS
Microsoft's Product Unit Manager for Internet Information Services (IIS), announced a new collaboration with Zend to improve performance and stability of PHP on Windows. This isn't just vaporware, either. During Andi Gutmans' keynote (Andi is one of the creators of PHP and co-founder of Zend), Bill announced the availability of a technical preview release of FastCGI for IIS and demoed it for the audience as well. FastCGI is a new component for Microsoft's Web server platform that is available for download & evaluation today. It works IIS 6.0 in Windows 2003 Server and IIS 5.1 in Windows XP. Even cooler, it also works with the brand new IIS 7.0 making its debut with Windows Vista and, later, as part of Windows Server code-named "Longhorn." This announcement continues to solidfy IIS as the premiere Web application server whether you are developing sites with ASP.NET or any other server framework. Moreover, regardless of the programming language or framework they choose, developers building sites of any size can leverage the full capabilities of the Microsoft platform with enterprise-class security, speed and stability.
Inserting A Date Into A Microsoft Access 97 Database
I was wondering if anyone could help me insert a short date into microsoft access 97 using php? i can insert text no problem but i can't seem to be able to insert a date properly. i have been using //$date = "#" . "$sqlmonth" . " |