jjzjj

Mandrill

全部标签

php - Silex + Swift Mailer 不工作

我有一个带有SwiftMailer的Silex应用程序,但似乎没有从$app['swiftmailer.options']加载配置。我在我的Bootstrap文件中注册了该服务$app->register(newSwiftmailerServiceProvider());在我的配置文件中$app['swiftmailer.options']=array('host'=>'smtp.mandrillapp.com','port'=>'587','username'=>'MY_USERNAME','password'=>'MY_PASSWORD','encryption'=>null,'a

php - 尝试发送模板时在 Mandrill 中出现 "invalid-sender"错误

我有4个模板,但其中一个返回错误:"reject_reason":"invalid-sender"。我没有发现这个错误。在文档中。我的帐户中有4个模板,当前模板具有以下结构:模板别名:contact-home发件人地址:info@somecomp.com发件人姓名:SOME_COMP++HTML模板。这是我从API日志发送的请求:完整请求{"template_name":"contact-home","template_content":[{"name":"examplename","content":"examplecontent"}],"message":{"dest_mail":

php - Mandrill 提供无效的应用程序 key 错误

我只是想将mandrill邮件发送与我的应用程序集成,下面是我在php中的代码$args=array('key'=>'73357ad2-e59e-4669---------','message'=>array("html"=>"\r\n\tHiAdam,\r\n\r\n\tThanksforregistering.\r\netcetc","text"=>null,"from_email"=>"xxx@xxx.com","from_name"=>"SIVOnline","subject"=>"Yourrecentregistration","to"=>array(array("email

php - 使用 cURL 的 Mandrill CA SSL 错误

我正在试用Mandrill。看起来很好。我注册了一个帐户并获得了一个apikey。从下载MandrillPHP包装器https://bitbucket.org/mailchimp/mandrill-api-php这篇文章似乎有一个很好的hello-worldMandrill电子邮件示例,所以我试了一下:SimplephpfunctiontosendanemailwithMandrill不断收到此错误:APIcalltotemplates/addfailed:ProblemwiththeSSLCAcert(path?accessrights?)我遵循了这些S.O.的说明。帖子:error

php - 使用 PHP 使用 Mandrill 发送电子邮件

我正在尝试使用Mandrill和PHP发送电子邮件,但无法发送。我从这里下载了PHPAPI包装器:https://packagist.org/packages/mandrill/mandrillMandrill.php在我的根目录中,Mandrill文件夹在同一目录中。这是我的代码:'Testmessage','from_email'=>'jwjody@yahoo.com','from_name'=>'Senderperson','html'=>'thisisatestmessagewithMandrill\'sPHPwrapper!.','to'=>array(array('emai

ios - 在 iOS 中使用 Mandrill API 的图像附件无法与电子邮件一起正常工作

我正在使用MandrillAPI发送电子邮件。一切工作正常,即使图像附件工作正常。但是图像的问题是电子邮件在主题行中没有附件标志,而且附加图像也没有名称。问题出在namekey这里是JSON的图像附件部分。我尝试了很多方法来命名,但没有一种对我有用。images:[{"type":"image/png","name":"IMAGECID","content":"ZXhhbXBsZSBmaWxl"}] 最佳答案 附件图标将在某种程度上特定于您使用的电子邮件程序。但是,一般来说,如果您想要将某些内容添加为附件,您应该使用attachme

php - 无法通过 Mandrill 发送 BCC 电子邮件(通过 Laravel)

我无法使用BCC通过Laravel中的Mandrill插件向用户发送电子邮件。我可以将电子邮件“发送到”地址,如下所示:Mail::send('emails.coach_invite',$data,function($message)use($coach,$emails){foreach($emailsas$email){$message->to($email);}$message->subject($coach->first_name.''.$coach->last_name.'hasinvitedyoutotryNudge!');});这很好用。但是,如果我尝试密件抄送相同的用户:

php - 山魈轨道打开不工作

目前我使用PHPMailer使用Mandrill'sinstructions发送邮件.我的电子邮件已成功发送并进入我的gmail/hotmail收件箱。我点击并打开了但不知道为什么我的出站事件图表没有显示我打开/点击了电子邮件。是否需要等待几天才能将数据反射(reflect)在我的图表上?我还检查了我在Mandrill上的设置,我确实在我的设置上跟踪了打开/点击电子邮件。 最佳答案 打开和点击发生时会被跟踪,但统计数据不会实时更新。Mandrill将打开或点击事件排队,针对特定电子邮件对其进行处理,然后将打开或点击添加到您帐户的邮件

php - 山魈验证错误

很高兴在StackOverflow上提出我的第一个问题。这些年来,我一直依靠它自学很多东西!我的问题是这样的。尝试通过Mandrill的API发送邮件时出现以下错误:{"status":"error","code":-1,"name":"ValidationError","message":"Youmustspecifyakeyvalue"}下面的代码是我用来尝试发送邮件的代码:thisistheemailshtmlcontent';$subject='thisisthesubject';$from='my@email.com';$uri='https://mandrillapp.co

IOS JSON 从 Mandrill 发送电子邮件

我有一个IOS应用程序,我想通过Mandrill发送电子邮件。我已尝试实现这一点,但它不起作用,我自己也很困惑。当按下按钮从IOS应用程序发送电子邮件时,我会记录此错误消息:{"status":"error","code":-1,"name":"ValidationError","message":"Youmustspecifyakeyvalue"}我的代码是:NSString*post=[NSStringstringWithFormat:@"{\"key\":\"abcdefg123456\",\"raw_message\":\"From:me@mydomain.com\nTo:me