WordPress.org

Forums

export post content to outlook using a email to link (1 post)

  1. Justin
    Member
    Posted 4 years ago #

    Hi
    I use wordpress as a blog for our small company on our internal network. So far everything is working properly. I had a request to add a link to each post so that the post can be forwarded around the office so that people can read it and even perhaps send the content out to clients or candidates. I created a link to with the following code which works fine but I cannot figure out how to copy the post content to the newly created email. Does anyone do something similar or perhaps knows what I need to add to the code to make it copy the content to the email . Currently it only copies the permalink of the blog post.

    <?php edit_post_link('Edit this entry.','',''); ?>
    <p><"a href="mailto:email@address.com?subject=I recommend you read this post&body=<?php the_permalink() ?>">Send this post by email</"a></p>

    Thanks
    Justin

    [moderator says] Fixed your code and removed the reply with the code again.

Topic Closed

This topic has been closed to new replies.

About this Topic