[VPS]This is test post, posted by jetpack email

This is a function called “post by email” in jetpack, just need to enable for each user to use, check image, seems pretty easy.

Now this is send by email.

Sent from other email account, different to the user email.

Try the markdown heading “####”

Added – solve post by email image size 1024 problem, add this into theme functions.php page:

reference: http://stackoverflow.com/questions/22026871/wordpress-jetpack-post-by-email-controlling-image-size

[php]
add_filter( ‘post_thumbnail_html’, ‘remove_width_attribute’, 10 );
add_filter( ‘the_content’, ‘remove_width_attribute’, 10 );

function remove_width_attribute( $html ) {
$html = preg_replace( ‘/(width|height)="\d*"\s/’, "", $html );
return $html;
}
[/php]