kullanarak posta gönderme, ancak mesajın 'Puli Factory is not available'
ile Fatal error: Uncaught exception 'RuntimeException'
elde ederken mesajla yakalanmamış özel durum 'RuntimeException' 'Puli Fabrika kullanılamaz' . Lütfen bir çözüm bulmama yardım edin, teşekkürler!Önemli hata: Aşağıdaki kodu kullanarak posta göndermeye çalışıyorum ve <code>guzzlehttp</code> kullanıyorum Mailgun
İşte benim kodudur:
require 'vendor/autoload.php';
use Mailgun\Mailgun;
# Instantiate the client.
$mgClient = new Mailgun('key-');
$domain = "domain";
# Make the call to the client.
$result = $mgClient->sendMessage("$domain",
array('from' => 'Mailgun Sandbox <[email protected]>',
'to' => 'John Doe<[email protected]>',
'subject' => 'Hello John Doe',
'text' => 'Email Text'));
ve benim orjinali ile anahtarı ve etki alanını değiştirdik.
Bu çözüm bulunamadı mı? https://github.com/php-http/discovery/pull/39 – Andrewus