Forum Moderators: coopster

Message Too Old, No Replies

Mailto function in php

any alternatives

         

malcolmcroucher

8:27 am on Jun 26, 2008 (gmt 0)

10+ Year Member



I have a form with a contact us on the bottom of it .

I have been using a mail to function :

action="MAILTO: Email@email.com"

however I notice that this method opens outlook , and the user has to confirm if they wish to send a message through outlook.

I am wondering if there is an alternative to this which does not use outlook ?

Regards

Malcolm

Marcia

8:44 am on Jun 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>>action="MAILTO: Email@email.com"

That's HTML, not a PHP function.

Here's the documentation on the PHP mail() function [php.net]

malcolmcroucher

9:21 am on Jun 26, 2008 (gmt 0)

10+ Year Member



Thanks marcia , this has been helpful .

just got to try and get it working now.

dreamcatcher

10:37 am on Jun 26, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This thread from our library may be useful:

Basics of Submitting and Emailing Forms with PHP
[webmasterworld.com...]

dc