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.
View Complete Forum Thread with Replies
Related Forum Messages:
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";.....
View Replies !
Create A Csv File So That The Data Can Be Used To Be Input Into MS Outlook
I need to create a csv file so that the data can be used to be input into MS Outlook. I need to build one row for each contact. I am trying to do this in a while loop, so for each record gathered, it will build the line of data and then break or line end at the end of each record. I am supposing that will have to write each line to the file, this I am not sure.
View Replies !
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.
View Replies !
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?
View Replies !
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.
View Replies !
Outlook
Need help making Outlook using existing MySQL DB as its source for address book. Application was created to manage MySQL based phone directory using PHP. Now management is inclined to use Outlook Address book. I would need to find some way to make Outlook to use existing MySQL DB as its source.
View Replies !
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.
View Replies !
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.
View Replies !
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?
View Replies !
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?
View Replies !
Outlook Download
I have a event scheduler on-line. All is fine, but want to add the ability to download the event the person just signed up for right into outlook or any calendar, but outlook will be far and away the most popular. Not sure how to go about this? Looked for some classes at phpClasses. BUt nothing seemed to worked. Tried iCalCreator, but am getting too many errors on the Windows server we are sitting on?
View Replies !
Appointment In Outlook
I have a calendar application written in php for in-house use that I'm trying to extend so that when people book a holiday, day-off, training etc they automatically get an email configured as an appointment so they only have to click on 'accept' and it gets inserted into their outlook calendar. I've sucessfully used the php mail() function within the application to create emails and that works ok but I can't find anything which tells me if its possible to do this. I've tried adding extra fields to the header (Location: When but to no avail.
View Replies !
Invoking Outlook
I have a PHP application that lists available bank statements, and allows the person at the computer to click and view the pdf statements. Currently, the product that I am looking to replace has a feature that allows people to email the pdfs using the rep's Outlook account. (ie. it brings up their New Mail Message form, attaching the pdf, and allows the rep to enter in a message and email address of person sending to) This is great for us, since Outlook keeps track of what is sent in the sent folder, and allows us to fine tune the email. I have used PHP Mailer, but not sure how to simply invoke Outlook New Message and attach the pdf.
View Replies !
Linebreaks In Outlook
I'm having an awful time trying to format an automatic email. When the email is view in outlook it removes the linebreaks from the format if I add a " " to my code then the entire email is double spaced. Are there any hacks to get around the problem in outlook?
View Replies !
MS Outlook 2003
How can i format the phone number that was entered in digital signature to all the employees automatically? Do i need to write coding in VBScript editor which is available in MS Outlook 2003 or which software do i need to have to this formatting to be done? Do i need to check which version the employees are using MS outlook and how can accomplish this for all the employees. How can i check with the active directory, if a person has email-ID or not? Please help me in finding the solution to format the electronic signature to company standard format.
View Replies !
Data Into Outlook
I wish to open outlook from php and and echo the results inside the outlook i.e, suppose i got client record with name, email, product id, product description, qty and summary of product.
View Replies !
Emailing From Outlook
I've downloaded phpmailer, and have read the readme file, and gone through all the other accompanying files, but where do you <b>actually start</b> please? Code:
View Replies !
Phpmailer Outlook
I have a problem with using phpmailer and outlook. whenever i send a mail using the phpmailer class outlook filters it as junk unless i put the word 'test' somewhere in the subject line. I just cant understand why, the mail filters correctly in hotmail and gmail, just outlook (which i REALLY need to accept it) is being a pain.
View Replies !
Add Event To Outlook
We have a calendar created via PHP and MySQL. Upon clicking on an event and viewing the full details of the event, we'd like to add a link that would download that event to Microsoft Outlook. The data for the download would come from the database which we'd Query via the unique ID for the event. Any ideas what format or how we'd go about creating the necessary PHP code to call the database, gather the event details, put them into the necessary format to work with Outlook and export the data to a file format that Outlook would automatically open?
View Replies !
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!
View Replies !
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.
View Replies !
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?
View Replies !
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).
View Replies !
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?
View Replies !
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:
View Replies !
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?
View Replies !
How To Use COM Objects To Program Outlook?
I'm working on an intranet web app that needs to generate and save a Word .DOC (easy enough, done), and then have the user be able to click and open a new message, using Outlook, with that file attached. After much Googling, I've found that you just can't use mailto: to assign an attachment ( just to: and subject: ). But I did see that you can use COM objects to control Outlook. I've got the very basics of connecting: $objOLApp = new COM("Outlook.Application") or die("Unable to instantiate Outlook"); print "Outlook v" . $objOLApp->Version(); The above code prints the correct version... However, I can't seem to create a new mail message with attachment, using PHP. There are a few resources covering the VBA model, and native Outlook code. I've grokked the basics of VBA macros, but can't seem to get the right translations for VBA -> COM.
View Replies !
HTML Email - MS Outlook
I coded what I thought would send html email from a website. The code actually works in Apple's mail program, Yahoo mail and gmail, but not in MS Outlook. In Outlook all the html tags are printed in the email. In the other email all the html tags are handled properly. Is it my code or is it another instance of MS doing its own thing? MY CODE: $headers = "MIME-Version: 1.0";#html hdr $headers .= "Content-type: text/html; charset=iso-8859-1"; $headers .= "From: $email";#from .....
View Replies !
Outlook Send Meeting
I hope somone can help im trying to create a file in any laguage (asp, php...) that will allow me to send a meeting request to users on outlook and entourage from my company intranet. The idea is that people can insert information and someone else will select who is taking part then the meeting request will be sent to the persons email inbox so they can accpet the meeting.
View Replies !
Mysql / Outlook Sync
Does anybody know of any good tutorials on how to sync mysql db with outlook or entourage? or is this even possible? If so, what are the security risks?
View Replies !
Outlook Missing Two Characters
trying to send an html message via php, and it looks fine in hotmail, yahoo, and earthlink webmail, but when i receive the same message (via earthlinkg) into outlook, there are two characters missing after every equals = sign. of course, this destroys the html. (actually, i haven't tried sending any plain text versions that include =. maybe it messes up those too??) any ideas?
View Replies !
Mail() Seen As Junk In Outlook
I am trying to set up a system that automatically sends out emails to subscribers. I am testing it on my system using my own email address as the recipient address. For some reason it gets put into my junk folder by outlook express. Any way of stopping this? It will eventually be used to send to people who use all sorts of different email clients. Are there any easy ways to avoid these being filtered into the junk mail? Code:
View Replies !
Collect MS Outlook Contacts
I am working in LAMP environment. I need to create one module for my upcoming project. Module is, 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. Expecting your valuable suggestions.
View Replies !
From Field In Outlook Express
I won't get the "From:" field in Outlook Express filled using these headers: PHP Code: $headers = "MIME-Version: 1.0"; $headers .= "Content-type: text/html; charset=iso-8859-1"; $headers .= 'From: '.$namn.' <'.$mail.'>' . ""; $headers .= "X-Priority: 3"; $headers .= "X-MSMail-Priority: Normal"; $headers .= "X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409"; $headers .= "X-Mailer: Microsoft Outlook Express 6.00.2800.1409";
View Replies !
Mail & Outlook Express
I'm sending an html email to members subscribed to a mailing list. However, the email isn't showing up as intended. This only occures in Outlook Express, Hotmail displays the email correctly. Code:
View Replies !
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?
View Replies !
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.
View Replies !
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 Replies !
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.
View Replies !
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.
View Replies !
Upload Multiple Files In Outlook
If you want to upload multiple files in Outlook you just highlight the ones you want and then attache them. Is it possible to open a file dialog box to search for files and then click the open button to attache the paths to send the files to desired storage file. With HTML input type of file, it only allows one pathway to be selected and entered into the textbox. Is there a way around this?
View Replies !
Accessing Outlook 2002 Messages
I'm wondering if anyone can tell me if it's possible to access the Outlook 2002 message store via PHP (ver 4.3.2)? I'm hoping to create a page that will summarise my inbox / outbox by certain email addresses. IE a page that will tell me when the last email I received from xyz@abc.com arrived, and when I last sent an email to that same email address etc..
View Replies !
Outlook Cache/html Pages?
I'm sending out a newsletter via PHP that sends a 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? Please keep in mind, this isn't for spam and i'm not a spammer, this is for a client who wants to send newsletters to it's subscribers.
View Replies !
Sending Mail From Php And Correct MS Outlook Receive
In my MS Outlook I use global address book to handling contacts. When I send email from Outlook to myself and double click on sender I get information about me from my global address book. When I use php mail() function to sending messages and then double click on sender I get specificity message email window only. How do I have to prepare header at mail() function (for example: FROM: ?) that after send and double click on sender in Outlook I get information about sender from Outlook global address book ?
View Replies !
SMTP Mail Problem (but Works OK In Outlook)
I'm finding when a mail is sent from a script, I get: Warning: mail() [function.mail]: Failed to connect to mailserver at "smtp.ntlworld.com" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:Documents and Settings However, when using Outlook and setting the SMTP agent in that to smtp.ntlworld.com, on the same PC, mail is sent fine (using Outlook) without any problems.
View Replies !
|