|
From: "Harpreet" on 16 Jan 2008 13:00 Can I use PHP to Open Outlook with subject , To and body pre-populated. So that user can preview before pressing send. Help is appreciated. Regards, Harpreet Kaur Sr. Application Developer Crispin Corporation (919) 367-7911 (919) 696-0515 (Cell)
From: "Warren Vail" on 16 Jan 2008 13:23 You probably want to open Outlook on the machine that is not running PHP (the browser machine) so you will need to use something else. Try something like; <a href="mailto:me(a)mydomain.com?subject=This is a subject&body=this is a body">clickablevalue</a> This is html and is limited by the length of a valid URL (Get method), which means the subject and body will need to be very short Warren Vail If you really meant to open outlook on your server machine, check out COM access in the manual, which will obviously need to be a windows server. > -----Original Message----- > From: Harpreet [mailto:harpreet(a)crispincorp.com] > Sent: Wednesday, January 16, 2008 10:01 AM > To: php-windows(a)lists.php.net > Subject: [PHP-WIN] Use PHP to open outlook > > Can I use PHP to Open Outlook with subject , To and body pre-populated. > So that user can preview before pressing send. > > Help is appreciated. > > Regards, > Harpreet Kaur > Sr. Application Developer > Crispin Corporation > (919) 367-7911 > (919) 696-0515 (Cell) > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php
From: "Jacob Kruger" on 16 Jan 2008 17:02 FWIW, you can basically do this with a standard HTML form where the action is something along the lines of mailto:... Can't remember if I've got this exactly right, but, basically your <form... tag would be something along the lines of: <form action=mailto:email(a)host.com?subject=subject line method="post" enctype="text/plain"> Then, each of the fields in the form will be sort of included in the body of that email. HTH Jacob Kruger Blind Biker Skype: BlindZA '...Fate had broken his body, but not his spirit...' ----- Original Message ----- From: "Harpreet" < harpreet(a)crispincorp.com> To: < php-windows(a)lists.php.net> Sent: Wednesday, January 16, 2008 8:00 PM Subject: [PHP-WIN] Use PHP to open outlook Can I use PHP to Open Outlook with subject , To and body pre-populated. So that user can preview before pressing send. Help is appreciated. Regards, Harpreet Kaur Sr. Application Developer Crispin Corporation (919) 367-7911 (919) 696-0515 (Cell) -- PHP Windows Mailing List ( http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
|
Pages: 1 Prev: php_dblib.dll (threadsafe) request Next: mysql not working but very odd |