Friends,

I have website with wordpress in which i have added plugin for forwarding mail

this contains link like below.

mailto:?subject=Welcome to my site&body=Check out this post: http://www.mywebsite.com/post-name/

In this "welcome to my site" is title and "Check out this post: http://www.mywebsite.com/post-name/" is body with page link but i want to add
my post content in body section.

Is there anyone here who can solve my problem ?

Thanks

Recommended Answers

All 3 Replies

Member Avatar for LastMitch

@technoknol

Can you post the code what you are trying to do. Can you post the link where you download the wordpress plugin.

Maybe you could try something like:

href="mailto:?subject=Welcome to my site&body=<?php echo urlencode($your_post); ?>"

Probled solved friends

the link is
href="sms:?body='_e(get_the_contect());'"

Now I am getting my post content in href sms: link for ?body part that I want.

/.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.