1
0
مراية لـ https://github.com/postalserver/postal.git تم المزامنة 2025-11-30 21:32:30 +00:00

fix: fixes issue with SMTP sender with address endpoints

هذا الالتزام موجود في:
Adam Cooke
2024-03-01 18:27:53 +00:00
الأصل 0140dc4483
التزام 2621a190b1
3 ملفات معدلة مع 5 إضافات و5 حذوفات

عرض الملف

@@ -434,7 +434,7 @@ module MessageDequeuer
it "gets a sender from the state and sends the message to it" do
smtp_sender_double = double("SMTPSender")
expect(smtp_sender_double).to receive(:send_message).with(queued_message.message).and_return(SendResult.new)
expect(state).to receive(:sender_for).with(SMTPSender, endpoint.domain, nil, { force_rcpt_to: endpoint.address }).and_return(smtp_sender_double)
expect(state).to receive(:sender_for).with(SMTPSender, endpoint.domain, nil, { rcpt_to: endpoint.address }).and_return(smtp_sender_double)
processor.process
end
end