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 [Re: html contact email] [message #181987 is a reply to message #181984] Fri, 28 June 2013 22:17 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 2:47:27 PM UTC-7, Luuk wrote:
> On 28-06-2013 23:21, Jerry Stuckle wrote:
>
>> (i.e. Windoze comes with Outlook or whatever has replaced
>
>> it now), but that client may not be configured.
>
>
>
> off-topic, and wrong......

I am getting this error even though if you click the anchor you do get the email to pop up:
Notice: Undefined variable: body in C:\xampp\htdocs\distributors1.php on line 437
sales(at)biology(dot)com
<?php $to='sales(at)biology(dot)com'; $subject='Distributor_Email';

echo "<a href='mailto:{$to}?body={$body}'> sales(at)biology(dot)com</a> ";?>

And I tried to add a subject by doing this:
<?php $to='sales(at)biology(dot)com'; $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
Thanks,
[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 Sep 19 16:07:53 GMT 2024

Total time taken to generate the page: 0.05080 seconds