我正在使用postmark inbound email函数构建一个PHP脚本--演示PHP代码抛出了各种各样的错误。我几乎逐字地从演示页面复制了代码,但\似乎导致了PHP错误。以及我正在使用的代码:\Postmark\Autoloader::register();
// this fileshould be the target of the callback you set in your <e
/src/Postmark/PostmarkClient.php on line 136 Warning: Invalid argument supplied for foreach() in /srv/www/sites/roderik/vendor/wildbit/postmark-php/src/Postmark/PostmarkClient.php on line 136 Warning: Invalid
这与此相关,但在本例中,它不是我要返回的内容,而是模型绑定。我正在使用来处理传入的电子邮件,这些邮件会发布到带有的页面。public class EmailModel public IDictionary<string, string> Headers { get; set; } public string Cc { get; set; }
public stri