从一个api发送简单的电子邮件和文本消息
popcornnotif的Python项目详细描述
这是Popcorn Notify的python客户端库。 爆米花通知是一个简单的非阻塞api,用于发送电子邮件或文本消息 从你的代码中。
-
from popcornnotify import notify notify('contact@popcornnotify.com', 'A new user signed up!', subject="Server Message") notify('5555555555', 'Long script has finished running.') notify(['contact@popcornnotify.com','support@popcornnotify.com','5555555555'], 'The server is on fire.')