Export Contact Information To Outlook Using PHP
I have a database with contact information in it and a PHP app where people can view the contacts and need to make a 'export to Outlook' link. I.e. someone clicks that link next to an entry and, ideally, the information would automatically be imported by Outlook. Is this possible or do I need to have it export to CSV and then have people import it?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Export Events To Outlook
Do anybody know how to export events to Outlook from a php script? I'm making a list of events, and my idea is that when the user clicks on the event it will be exported to his or hers Outlook-calendar. I don't want to force the users to install any software (like a RSS-reader).
Images Shown In Outlook Express But Not In Outlook 2003
I'm writing a php code to send email in mime format. All seams ok if I read the email with outlook express, or Thunderbird, or any webmail, but if I open the email with Outlook 2003, I can't see the images, I just see a small box (I send 1 image) with inside the path of the image. The image is embedded in the message, it's not a link. <?php $header = "From: Sender <sen...@domain.org>"; $header .= "CC: Altro Ricevente <blabla...@domain.net>"; $header .= "X-Mailer: Our Php"; $boundary = "==String_Boundary_x" .md5(time()). "x"; $boundary2 = "==String_Boundary2_y" .md5(time()). "y"; $header .= "MIME-Version: 1.0"; $header .= "Content-Type: multipart/related;"; $header .= " type="multipart/alternative";"; $header .= " boundary="$boundary";"; $messaggio = "If you read this, your email client doesn't support MIME"; $message .= "--$boundary"; $messag .= "Content-Type: multipart/alternative;"; $message .= " boundary="$boundary2";"; $message .= "--$boundary2"; $message .= "Content-Type: text/plain; charset="iso-8859-1""; $message .= "Content-Transfer-Encoding: 7bit"; $message .= "Alternative message in plain text format."; $message .= "--$boundary2"; $message .= "Content-Type: text/html; charset="iso-8859-1""; $message .= "Content-Transfer-Encoding: 7bit";.....
Combination Of Outlook And Php - Create Stationery For MS Outlook Using PHP Engine
Some of my clients asked me to create "fancy emails" for them (aka html formatted emails). I know how to make a nice html document, but I had trouble creating a simple way to provide the document to my clients so that they could use it to. I know most of them use Outlook XP or Outlook 2003, so what I created was a page that creates a Visual Basic script that, when saved to the desktop and clicked (run), opens a message in outlook using the html provided.
Php, Outlook 2k3
I have a php script that grabs user information from a form and sends me an email when an order has been placed. how do I make the default 'reply-to' address the email address of the customer? I'm hoping to click 'reply' within outlook 2003 and not have to type in each user's email for every order.
PHP And Outlook
I have an application part of which sends an email with attachment. I have implemented this in php, BUT now the customer wants it to appear in his Outlook email application (so he can amend defaults etc.) I cannot find a way to get outlook to accept the attachment using the mailto: Is there another way? Can it be done, or is it inhibited by Outlook?
Outlook And PHP
Does anyone know how to update Microsoft Outlook dynamically? i.e. when their calendar is updated on a website, the next time they look at Outlook it will update with the new events... If you don't know the complete solution or have any clues as to how to accomplish this, please let me know. Any and all information (hints) is desired as I am pretty stumped with this one.
Including Outlook
IN MS outlook we have a thing set up so people can sceaduale the use of rooms/equiment is there a way to access this information from an intranet page? or at least have something that would open the persons outlook up into that area of outlook. It's just everyone seems to find it to complicated to hit the clock button then find "#*$!x" in the menu. You can tell them over and over agaibn this is how you request for this piece of equipment but they just don't get it. Bad thing is they don't use it then come back an hour before they need it and expect it to be there and waiting for them regrdless of someone else needing it.
Email For Outlook
I have gathered a list of emails and concatenated them into a string, for the purpose of using them to send emails out. I don't want to use the mail(), because I just want MS Outlook to open and put the list of emails stored in a var in the CC box. This way the user can put whatever information they need into the email and click send and it will send it. Is it possible to put it into the CC box or is it just better for the user to use the mailto code in HTML.
Getting Data From Outlook
retriveing data (appointments) from Outlook and to show it on my php-webpage. I found a link on the net (look below), but I don't got the right settings in registry on my pc, missing the "Mapi.session" line. Is there some application I have to install to get this up and working? Or are there other ways to get data from Outlook?
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?
PHP COM - Problems With Automating Outlook
I have been reading through some examples on using PHP with Outlook. I have been trying to get this simple example working, but its starting to really puzzle me. PHP Code:
Voting In Outlook 2003
I am tring to get my web page on the click of a button to generate a mail from a person to a manager of a department, with voting buttons, so that when the manager approves the request the relevant information gets passed to HR. Is this possible in PHP? i understand the use of mail() and so a message could be drawn up, however th inclusion of votin buttons is the tricky bit!
Reading Outlook Attachments
Does anyone know of a class which will read outlook email messages. I need to be able to scan outlook for "non-read" e-mails with a specific subject and then save the attachments and mark the e-mail as "read". I tried working with the am outlook application COM object but could not get it to work. If you have another way to do what I want, without human intervention, I'm open for suggestions. I't goes without saying I want to be able to do it form or with PHP.
PHP Email Attachments & Outlook XP
I was curious to know if anyone was experienced any difficulty in receiving PHP generated emails with file attachments using Outllook XP as their mail client. I have used PHPMailer, as well as other classes to accomplish this functionality, and has worked just fine in all other clients, except my client just updated their software to XP... I thought perhaps the encoding could be slightly different, any thoughts?
How To Collect MS Outlook Contacts
I need to create one module for my upcoming project. Module is, In my project, If a user wants to send mail, i need to collect that particular user's MS Outlook contacts and display it into his page. To do this, is there any open source available?
Using COM Objects Or Importing To Outlook
I've been asked to look at developing a web-based system for tracking forms. In itself, it is fairly simple. However, one item they want to look at is Outlook integration for tasks. We use an internal exchange server and I have read about being able to use COM objects to write tasks for Outlook from PHP. However, I'm having difficulty with this part. The script I do have is timing out and documentation on using COM objects is fairly sparse. Should I be looking at something other than PHP? Code:
Mail(), Html & Outlook
I see that a while ago people had the same problems as me (http://www.phpbuilder.com/board/show...eadid=10240258), but I see no answers anywhere, so here goes: I am sending E-Mail from a form on my website using the php mail(). The problem is that when I send it as html, outlook has problems. Here are the headers I'm using: $headers = "From: $name <$email>"; $headers .= "Reply-To: $email "; $headers .= "MIME-Version: 1.0"; $headers .= "Content-type: text/html;"; When I do this, the E-Mail looks fine in squirrelmail (a webmail program www.squirrelmail.org), but in outlook...instead of getting a nicely formatted html message, I get a message that starts with "Content-type: text/html;" then continues on in plaintext, showing me all the html tags, etc. I tried switching some of the headers around, and if I switch the mime & content-type headers, I see html in BOTH E-Mail programs, but outlook starts the message off with "MIME-Version: 1.0" which I suppose is the lesser of 2 evils, but there is no reason that I should have to see that. Does anyone have a solution?
Export To CSV
There are some text fields that I am exporting to CSV contain comma in it. And so when I open the csv file, everything is shifted. e.g. "Apple, Banana, Orange", "Excellent", "12345" gives me 5 columns instead of 3 in the csv: Apple Banana Orange Excellent 12345 How can I solve this problem?
PHP Export > Csv
I have got a page on a site that I'm working on. As you can see there are 3 drop down menu's which are dynamicaly driven by 3 tables within my database. On selection of the lists, you are taken to the same page (show if statement - dreamweaver) which shows you the record count. This is based on your criteria! At this point. I would like to export the query results into a .csv file. Now I have looked across the forums and found a few things and tried to implement them into my site, all of which are bringing up an empty page. Possibly because my search queries are dynamic?
Contact Form
I'm struggling with this email code and I'm not php freak since I'm starting to learn php stuff. Could use some help... It seems that I get too many parse errors all over and cannot figure went wrong since most of these appears right to me... <?PHP $to = "scoobyood@jace41.com" ; $name = $_POST['name'] ; $email = $_POST['email'] ; $subject = $_POST['subject'] ; $message = $_POST['message'] ; //validate contact fields if (!strstr(trim($_POST['email']),"@")) { $email_error = "<p class='comment'>please enter your email address!</p><br>"; $contact = "no"; } if ($_POST['name'] == "") { $name_error = "<p class='comment'>name field is blank!</p><br>"; $contact = "no"; } if ($_POST['email'] == "") { $email_error = "<p class='comment'>email field is blank!</p><br>"; $contact = "no"; } if ($_POST['subject'] == "") { $subject_error = "<p class='comment'>subject field is blank!</p><br>"; $contact = "no"; } if ($_POST['message'] == "") { $message_error = "<p class='comment'>message field is blank</p><br>"; $contact = "no"; } if ($contact != "no") { //if pass, then submit email and redirect to thankyou page mail($to, $subject, $message, "From: $name <$email>"); { header("Location: contactsent.html"); exit(); } ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="css/jace2.css" rel="stylesheet" type="text/css" /> </head> <body> <p class="topic">Unable to send your message!</p><br> <?PHP //list error(s) else if $send == "no"); { echo "$name_error"; echo "$email_error"; echo "$subject_error"; echo "$message_error"; } ?>
Contact Form
My server does support php, but I cannot get contact form to work. Could use some help to see if any error in php code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <? $name = $_REQUEST['name'] ; $email = $_REQUEST['email'] ; $subject = $_REQUEST['subject'] ; $message = $_REQUEST['message'] ; if (!isset($_REQUEST['email'])) { header( "Location: index.htm" ); } elseif (empty($name) || empty($email) || empty($subject) || empty($message)) { ?> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="css/jace2.css" rel="stylesheet" type="text/css" /> </head> <body> <p class="topic">Unable to send your message!</p> <p>One or more fields are empty and ALL fields in contact form are required to be filled to be able to send your message </p> <p> Click your browser's "back" button to return to the contact form and fill all fields.</p> </body> </html> <? } else { mail("scoobyood@jace41.com", $subject, $message, "From: $name<$email>" ); header( "Location: contactsent.html" ); } ?>
PHP Contact Form
The code below sits on a page named contact.php Essentially this contains standard contact details, AS WELL as being the form processor for a Contact form which sits on each page across the website, and the action on this form is action="contact.php?send=yes" which I hoped would then process the below. So then the page CAN be a normal content page, although at other times, when actioned contact.php?send=yes, it would then execute the code below, however this doesn't seem to work? And the server offers no error message to help me resolve this. Code:
PHP Contact Form
I used a contact form generator but I tried editing it manually to add some more stuff into it, but got confused and wrecked it. I wanted to add a "Phone" field and "Name" field. After fiddling around, when I test the form, it gives me the all okay but I never received the email. Code:
Contact Form
I have the contact form below, but what I am wanting to do is make the input email address by the user, appear as the FROM address in the emails that are sent to the specified address: Code:
Contact Form
I have three pages that are recognizing the PHP on a server running 4.3.11 but not on a server running 5.2.1. I know there were some changes between the 2 but I can't figure out what I need to change. The hosting provider of the latter indicated that it was not a confguration setting. I've posted the code for my three pages below. Anything you can do to help would be appreciate...Also, when there is an error with one of the fields on my page, the info already entered by the user gets lost...and the field is blank again. How do I get the values to be retained??? the three pages below are for a basic contact form for which info is then emailed to the recipient as a confirmation and the admin.
Contact Form Sent!
Ive just finshed setting up a contact form that uses PHP, once the form is sent it takes to you the "thanks email been sent" page. Is there anyway i can get this page to re-direct back to the homepage after say 5 seconds. OR insert a link to this php page that the user clicks to take them back.
Contact Script
I am using a contact script that I am happy with (themike) but some one told me that the "Older versions such as contact0.php and contact1.php shouldnt be available to the user" My php knowledge is very limited so could some one tell me what he means with that or how could I fix it. I don't know why you can have access to files that doesn't exist, the file is contact.php but if I call contact0.php I'll get an answer too eventhough contact0.php doesn't exist.
Php->HTML Email: Outlook Cache?
I'm sending out a newsletter via PHP that sends HTML code. Within that code I have a tracking image that reports if the email was opened. (fairly common reporting) Anyway, if you open the HTML email once, it counts it as opened. If you open it twice, it does not count that. I've tried adding NO CACHE type options to the HTML email itself with no luck. Is it something maybe on the PHP side? I'd think everytime outlook opened that email it would reload the tracking image, but maybe not. Has anyone else run into this? Is there a workaround either client or server-side?
Scrip For Sending An EMail Via PHP And Outlook
our configuration is as following described: - OS: Windows 2000 - Apache server 1.3 - Php 3.8 - MS outlook client 2000 _and_ no SMTP server available in the whole intranet. We are looking for a php script for sending eMail with help of the above named outlook client.
Send Mail From Outlook Web Access
I've got RH9 Linux with default PHP. Is there a way to send email on Linux to an Exchange Server from PHP and/or other tools when there is *NOT* SMTP access? Has anyone figured out a way to use PHP to get inside an OWA (Microsoft Outlook Web Access) website to send email that way? The reason I ask is because my corporate office is going to do away with our rogue SMTP server access and force everything through Exchange Server. This makes it hard for our batch scripts on the Linux server to relay to internal email accounts that a job has failed or other errors.
Mail() To Outlook, No Carriage Returns
I'm sending normal text email, but in Outlook all the carriage returns are ignored. The text comes from MySQL database, and I've tried str_replace(" ", " ", $dr['email_template']); I also tried sending header Content-type: text/plain but still no luck, still the email comes through as one big line. I'm sure this must be a common thing but I can't immediately find an answer through Google.
Export Sql Code
Can I use a php script to move a database from a db on my local machine to a db on a server.. How exactly would it be structured, and what commands would I have to use? I'm also looking into using mysql to export the code and content from the db on my computer and then import it using phpMyAdmin on the server, but I still havent found out how to do that after searching these forums and reading through the mysql manual.
Import And Export
Anyone could give me some tips about coding an import and export php script with mysql ?
Export Any File
I want to export a mysql query into text, cvs, or excel file, I was looking and I found the headers to do this, but when I open the saved file appears all the page, I mean save the data but also save all the page. Code:
CSV Export Thing
I am looking at the fputcsv function for something that I need. In summary, this is what I want to do: 1. Go through a table 2. Get all the columns and put them into an array 3. write the array to a CSV file 4. Go to the next row 5. Append the table row into the CSV file 6. Repeat for each row in the table The php site shows this: <?php $list = array ( 'aaa,bbb,ccc,dddd', ́«,456,789', '"aaa","bbb"' ); $fp = fopen('file.csv', 'w'); foreach ($list as $line) { fputcsv($fp, split(',', $line)); } fclose($fp); ?> I'm assuming that I need the 'a+' mode for opening the file and not 'w'? I'm ashamed to say that I have no idea how to loop through the table and put the columns into the array. What I'm coming up with at the moment is this: <?php do { $list = array ( ' $row_Recordset1['firstname'], $row_Recordset1['lastname'], $row_Recordset1['email'], $row_Recordset1['telephone']' ' ); $fp = fopen('/path/to/the/file.csv', 'a+'); foreach ($list as $line) { fputcsv($fp, split(',', $line)); } fclose($fp);
Export Excel
i have created a page that export in excel format some recordsets extract from a database, i pass to that page the sql query string via get example: href="export_excel.php?sql=<?=$sql?>" it works fine but in the address bar and in the title bar (with Explorer) it write the sql string that i pass to the page and i don't like it how can i solve that problem?
Export To Excel
I've been trying to export MySQL data to an excel / CSV file, and I have it pretty much populating the Excel properly with the data; however, the Excel sheet also includes the entire HTML formatting + CSS/JS coding before the export code. I've tried getting rid of it with strip_tags, to no avail. Is it because the export code is to the middle of the file? I tried to move it into the header, but that didn't work either. Any ideas? Code:
Contact Form Spam - To Me Alone
I have a contact form on my site (been there for a few years) and just lately someone has begun using it to send Spam to me - and only to me (one to three times a day). I can tell because I track the usage of those contact form scripts (that I wrote) closely. The person is not even trying to inject anything into the headers, they are just sending me URLs to their porn sites. Is there any way to block this kind of usage? I've tried the usual tricks (hidden form field - checking referrer), but they always (almost) check out okay. The originating IP address changes every time, of course - and the porn sites are usually already gone. I'm already cleaning all my form variables (checking for LF and CR and content_type and cc:), so that is not my problem. It's just the few annoying emails I get. [ ..... Is this actually a productive way for spammers to distribute their crap ... one email per form?]
Contact Page Using Smtp
HiI am facing problem creating a feedback form using php. I want to use smtp not php mail function.
Email Contact Form
Basically I'm trying to add a contact form to my website and I downloaded the PHP for it off a website. Although I'm trying to configure it so it works in with my website. I have no idea about php coding I'm afraid so I have no idea what I'm doing so I'd like a little help in configuring this so it will work. Code:
Customer Contact Form
On a form that collects cutomer info, under the address I have a list menu of the states. Customer selects their state and I store abbreviation to my table. This all works fine, now what do I do if I get a potenial customer from another country. Maybe they use state in their address, maybe not, or worse their state would have an abbreviation larger then 2 characters or have to be spelled out.How can I get around this and still have the menu for U.S. customers?
Contact Form : Flash &
I have built a contact form in Flash, where the information is sent to me via e-mail. Since Flash doesn't have the ability to send e-mail I have used a simple php file. The form is working fine and I get the info, however, after you press "send" a new browser window opens linking to the php file that it is linked to - the window is blank and I find it quite annoying (I'm sure the users will too) Is there any way that I can stop this page from opening up??I know next to nothing about PHP (I'm learning though) so please go easy on the directions - just assume I know nothing.
Contact Forms And ABUSE
I've written a bunch of contact forms in the past, and one in particular has been getting a ton of abuse. The fields are: NAME EMAIL PHONE SUBJECT MESSAGE and a few other more specific questions.. The form is submitted via a javascript function (.submit()). Can any one recommend any tricks to limit this type of abuse?
Exploited Contact Form
I have a simple contact form that is processed by this php script. It was somehow used to send a bunch of spam through my server via injection. I received an email from a sysadmin that made the following statement: Message: I am one of the hundreds of recipients of a spam that was originated from your website. Please remove your contact form and fix the vulnerability -- NEVER include the form field variables in the outgoing email headers!!! Otherwise, spammers can injet codes into the mail headers thus hijack the outgoing email to send spams from your website. Code:
Simple 'contact Us' Form
I am trying to create a very simple contact us form. So far i have managed to get the form e-mailed to me with the 'from' email address and the 'message'. How do i add information or variables to appear in the e-mail. Here is my code:
Simple Contact Form
im building a contact form and the form works fine but i just want to tweak it alittle and i dont know quite how. insted of sending the user to a seperate error.htm page i would just like for the error message to appear on the same page this way the user wont lose the information theyve alreay written. Code:
Synchronize Contacts With Apps Like Outlook And Ical
i would like to be able to sync contact details with ical (mac) and outlook for a website im doing, does anyone know how to do this, if its possible? for example file formats, ways of sending data to the apps? are there any good online resouces regarding this?
Read E-mail Addresses From Outlook Express
how to read email addresses from outlook express (from local hard disk) It will be great if you help me to read e-mail addresses from and folders (of outlook Express) like Send, input, output etc).
|