我正在按照本教程在App Inventor中发送电子邮件:https://www.hackster.io/taifun/trigger-ifttt-to-send-an-email-using-app-inventor-9df505(您必须在页面上向下滚动才能查看教程)
本教程直截了当,易于理解。但是,IFTTT服务(Maker)现在称为“Webhooks”。
我不知道自编写该教程以来还有哪些变化。 遵循教程:
using (var output = new MemoryStream())
{
using (var pdfWriter = new PdfWriter(output))
{
// You need to set this to false to prevent the stream
// from being closed.
pdfWriter.SetCloseStream(false);
using (var pdfDocument = new PdfDocument(pdfWriter))
{
...
}
var renderedBuffer = new byte[output.Position];
output.Position = 0;
output.Read(renderedBuffer, 0, renderedBuffer.Length);
...
}
}
https://maker.ifttt.com/trigger/Sendmail/with/key/*MYKEY*
Content-Type: application/json
我有双重和三重检查拼写错误。 单击按钮发送此电子邮件后,我收到回复: “恭喜!你已经解雇了Sendmail活动!”
除了......没有电子邮件。这两封电子邮件都是我的实际电子邮件,因此它们都是有效的电子邮件。 “faeryofiris@gmail.com”应该是“FROM”电子邮件,而“pixiibomb@gmail.com”是在IFTTT上注册的电子邮件(这应该是收到来自faeryofiris的邮件的电子邮件)我一直刷新我的Gmail,仍然......没有电子邮件。
有什么想法吗?
答案 0 :(得分:1)
我已经多次遇到这个问题。解决方案一直是单击Webhooks Service Settings页面上的"Edit Connection"
。这将为您提供一个新钥匙。它不能解决它们的问题,即键会死于无故解释的原因,但是它应该可以使您的设置再次起作用。