FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » html contact email
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: html contact email [message #182044 is a reply to message #182031] Mon, 01 July 2013 00:03 Go to previous message
bill is currently offline  bill
Messages: 310
Registered: October 2010
Karma:
Senior Member
On 2013-06-29 9:34 PM, Richard Damon wrote:
> On 6/29/13 6:37 PM, Twayne wrote:
>
>> Is there a way to format php sendmail without it being in a form just
>> a simple email address in an
>> anchor? Thanks,
>
> To send an email with php, you need to invoke a php script with the data
> the script needs to build the email. It doesn't require a "form", but
> you do need some way to get the needed info from the user (forms are
> just an easy way to get data).
>
> Invoking the script could be done by directing to a page, or by having a
> client side script make a background request to the script (like using
> AJAX).
>
> The big difference between a mailto link and a php script request is
> that the mail to link will assume that there is a proper mail client
> configured on the client, and that it will just need information like
> the destination address, and (maybe) subject. It will be assumed that it
> already knows the users email address and how to send the email from the
> client.
>
> The php script on the other hand, likely doesn't need the destination
> address and such, but likely DOES need the information about the user
> (like their email address, and maybe what to send in the email). This
> information will normally come from a form, but it is possible that it
> could come from some other source.
>

Good response, but I think you misdirected it; the OP is someone else I
forget the name right now, not me. Unless my newsreader is glitched,
which is always possible.

Cheers,

Twayne`
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PHPMailer from and mesg-id bug
Next Topic: Updating old PHP code
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 28 03:01:10 GMT 2024

Total time taken to generate the page: 0.04242 seconds