Jump to content

Open Outlook/Mail


Thierry

Recommended Posts

I used to have a mailto modification to allow the user to create an email in php/html, let it open up Outlook and then send the message.
The only problem was that the amount of characters/text that could be inserted into the body of the mailto was limited to a certain amount of characters.
So I tried using a COM.application instead, but that gets me a popup warning if the user will allow the script to open Outlook everytime an email is generated.
Is there another way in which a simple email in which you can set the adresses and the body, but still have outlook open to show the message/email.
Link to comment
Share on other sites

Here is a hyperlink code we use to use the default (outlook) on the machine
[code=php:0]
echo "<a href='mailto:$email?SUBJECT=$subject&Body=$body'>Send E-mail</a>";
[/code]

Heads up not all are machine here at work had  the Client installed on the workstation.

Shared machines used the Web Applicantion and not the Client and this would not work

We switched to php mail function via are SMTP server.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.