0

Another question,
Is there a way in php to send emails without having to use the "mailto:" ?
Most everything I have seen uses this method, but a lot of people don't use MS Outlook.
Thanks
Dan

3
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by dan_t
0

I'm guessing your trying to have a customer send an email to a designated email address?

Why not setup an HTML form to collect the data (such as a small subject area and a large message area). and then use a PHP4/5 mail() function.

have a look at this. http://php.net/manual/en/function.mail.php

Edited by PsychicTide: n/a

0

Another question,
Is there a way in php to send emails without having to use the "mailto:" ?
Most everything I have seen uses this method, but a lot of people don't use MS Outlook.
Thanks
Dan

The use of "mailto:" is not related to Outlook. On a Windows machine it will open the default mail program. That can be Outlook but also Thunderbird or any other.
On my Linux system it always opens Thunderbird.

As PsychicTide already wrote, using a form and sending the data with the mail() function is a much better method.
It avoids the opening of a mail program (and not every computer has one installed) and it hides the mail address for those systems that collect mail addresses to bombard you with spam.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.