Any news on an update to the SparkPost addon for 2.3?My sites all still use SparkPost, so I will be updating this addon.
No guarantees as to when it will be ready though.
Any news on an update to the SparkPost addon for 2.3?My sites all still use SparkPost, so I will be updating this addon.
No guarantees as to when it will be ready though.
Any news on an update to the SparkPost addon for 2.3?
XenForo 2.1 | SparkPost Mail Transport v1.x |
XenForo 2.2 | SparkPost Mail Transport v2.x |
XenForo 2.3 | SparkPost Mail Transport v3.x |
I assume that one can always set their emails by domain rather than by individual email addresses?
The AI mentioned that I could manage this using a DomainKey, for example, sending send@forum to SparkPost while keeping post@forum with the old host. But I suspect that one has to decide on one direction?
Exception: HashContext for algorithm "sha256" cannot be serialized src/XF/Mail/Queue.php:57
#1 src/XF/Mail/Queue.php(57): serialize(Object(Hampel\SparkPostDriver\Message))
#2 src/XF/Mail/Mailer.php(322): XF\Mail\Queue->queueForRetry(Object(Hampel\SparkPostDriver\Message), NULL)
#3 src/XF/Mail/Mail.php(459): XF\Mail\Mailer->send(Object(Hampel\SparkPostDriver\Message), Object(Hampel\SparkPostDriver\Transport\SparkPostTransport), NULL, true)
#4 src/XF/Service/User/AbstractConfirmationService.php(85): XF\Mail\Mail->send()
GuzzleHttp\Exception\ClientException: Email to *****@gmx.de from noreply@*******.com failed: Client error: POST https://api.sparkpost.com/api/v1/transmissions resulted in a 401 Unauthorized response:{"errors": [ {"message": "Unauthorized."} ]
src/addons/Hampel/SparkPostMail/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack-Trace
#0 src/addons/Hampel/SparkPostMail/vendor/guzzlehttp/guzzle/src/Middleware.php(65): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 src/addons/Hampel/SparkPostMail/vendor/guzzlehttp/promises/src/Promise.php(204): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 src/addons/Hampel/SparkPostMail/vendor/guzzlehttp/promises/src/Promise.php(153): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), NULL)
#3 src/addons/Hampel/SparkPostMail/vendor/guzzlehttp/promises/src/TaskQueue.php(48): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 src/addons/Hampel/SparkPostMail/vendor/guzzlehttp/promises/src/Promise.php(248): GuzzleHttp\Promise\TaskQueue->run(true)
#5 src/addons/Hampel/SparkPostMail/vendor/guzzlehttp/promises/src/Promise.php(224): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 src/addons/Hampel/SparkPostMail/vendor/guzzlehttp/promises/src/Promise.php(269): GuzzleHttp\Promise\Promise->waitIfPending()
#7 src/addons/Hampel/SparkPostMail/vendor/guzzlehttp/promises/src/Promise.php(226): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 src/addons/Hampel/SparkPostMail/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 src/addons/Hampel/SparkPostMail/vendor/guzzlehttp/guzzle/src/Client.php(182): GuzzleHttp\Promise\Promise->wait()
#10 src/addons/Hampel/SparkPostMail/vendor/hampel/swiftmailer-sparkpost/src/Transport/SparkPostTransport.php(70): GuzzleHttp\Client->request('POST', 'https://api.spa...', Array)
#11 src/XF/Mail/Mailer.php(312): Hampel\SparkPostDriver\Transport\SparkPostTransport->send(Object(Hampel\SparkPostDriver\Message), NULL)
#12 src/XF/Mail/Queue.php(148): XF\Mail\Mailer->send(Object(Hampel\SparkPostDriver\Message), Object(Hampel\SparkPostDriver\Transport\SparkPostTransport), Array)
#13 src/XF/Job/MailQueue.php(12): XF\Mail\Queue->run(8)
1. It seems "SMTP" must be checked at Sparks.
2. Is your add-on done for US or Europe?
I have written at 2.3 version, but it is a 2.2 version;
I have added a new api key only with the two permissions and no IP restriction like before.
Hampel\SparkPostMail:TransportTest - Sending failed: "HashContext for algorithm "sha256" cannot be serialized"; message: ""; description: ""; code: "0"
It took me a while to understand the system.
I have forum.com, mail.forum.com, and bounce.forum.com.
I have 2 TXT records for mail and bounce; 2 CNAME records for mail and bounce.
Everything is verified at sparks.
At cloudflare i have removed proxy from the dns values (just to have done it)
I have an API key with the necessary permissions.
I have entered the key in "use for Sparks for mail."
I have a mail-ad for sending, post, and bounce. (All three also have a mailbox at the provider, i know we dont need 2 of them now)
I checked that PHP 8.1.Now 8.2
I have ordered 50.000 mails per month for 20$ as a test.
I don't know what else to check.
something@forum.com
if you don't have a sending domain configured for forum.comsomething@mail.forum.com
Thank you very much.
I don't need to see the bounces in an inbox because you fetch them via api.
What is with TXT for bounce.forum.com, not mentioned above?
Doing the same with smtp and without your addon as long the EU is not ready to use?
The same as above but sending domain strict, no bounce ...
Just for understanding SMTP
XF, Mail => Sparkpost => receiver server => sorry, no mailbox
=> back to sparkpost (=sender) or
=> back to mailadress in header bounce@forum.com?
Case 1, can have the bounced mail to my inbox bounce@forum.com from Sparkpost?
Just for understanding your addon
XF, Mail => Sparkpost => receiver server => sorry, no mailbox
=> back as bounced to sparkpost (=sender)
=> back as info to your addon => set mail as bounced
We use essential cookies to make this site work, and optional cookies to enhance your experience.