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: [OT] mailto: (was: OT) [message #181995 is a reply to message #181992] Fri, 28 June 2013 23:43 Go to previous messageGo to previous message
jans is currently offline  jans
Messages: 7
Registered: June 2012
Karma:
Junior Member
On Friday, June 28, 2013 4:34:11 PM UTC-7, Thomas 'PointedEars' Lahn wrote:
> jans wrote:
>
>
>
>> $subject='Distributor_Email';$subject='Distributor email';
>
>>
>
>> echo "<a href='mailto:{$to}?body={$body}?subject={$subject}'>
>
>> sales(at)biology(dot)com</a> ";?>
>
>>
>
>> And I get the right mailto but I get this subject line in the body instead
>
>> with no subject in the subject line. ?subject=Distributor email
>
>
>
> You have been told before that “mailto:” URIs are interpreted *client-side*
>
> by the e-mail *client* program triggered by the browser, if any.
>
>
>
> It does not matter that it is generated server-side with PHP. You do not
>
> really have a PHP problem. (You have the problem not knowing what you are
>
> doing on the Web instead, like how URIs must look like.)
>
>
>
> You are *off-topic* here. Read the corresponding RFCs, and RTFM.
>
>
>
>
>
> PointedEars
>
> --
>
> Anyone who slaps a 'this page is best viewed with Browser X' label on
>
> a Web page appears to be yearning for the bad old days, before the Web,
>
> when you had very little chance of reading a document written on another
>
> computer, another word processor, or another network. -- Tim Berners-Lee
Okay, fair enough. I have one more question. If I have to process it without mailto, is there a way to just have a popup in an anchor? I don't want it to be a form response. I just want to click the anchor link and have the email popup. So should he not have a email configured for example if he uses hotmail then I guess I would have to use some php class for that? I know gmail works as a default but I don't know about hotmail. I am assuming there are only hotmail, yahoo, or gmail to worry about or Outlook
[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 00:24:08 GMT 2024

Total time taken to generate the page: 0.05018 seconds