from webmentiontools.send import WebmentionSend
from webmentiontools.urlinfo import UrlInfo
    
def handle_new_or_edit(post):
    url = post.permalink_url
    info = UrlInfo(url)
    in_reply_to = info.inReplyTo()
    
    if url and in_reply_to:
        sender = WebmentionSend(url, in_reply_to, verify=False)
        sender.send()

from webmentiontools.send import WebmentionSend
from webmentiontools.urlinfo import UrlInfo
    
def handle_new_or_edit(post):
    url = post.permalink_url
    in_reply_to = post.in_reply_to
    if url and in_reply_to:
        print "Sending webmention {} to {}".format(url, in_reply_to)
        sender = WebmentionSend(url, in_reply_to)
        sender.send(verify=False)
        print "Finished sending webmention"

Update webmention plugin to new version
Update webmention plugin to new version
