-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
-
symfony/mailer
Does anyone know, why the TransportInterface::send()
returns ?SentMessage
? I couldn't find any implementation which would return null. If this could be strictly SentMessage
it would save us some checks afterwards. Otherwise, if it is supposed to be nullable, does someone know what it is supposed to mean? Was the sending succesful, or occured any error?
Beta Was this translation helpful? Give feedback.
All reactions
Before #36467 send
would return null
if no recipient were set but, it now seems this can indeed no longer happen. You can try opening a PR but I’m not sure it’ll be considered worth it.
Replies: 1 comment 1 reply
-
Before #36467 send
would return null
if no recipient were set but, it now seems this can indeed no longer happen. You can try opening a PR but I’m not sure it’ll be considered worth it.
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks! That's what I was looking for. I'll prepare a pr within the next days. Let's see if it'll considered worth it ;)
Beta Was this translation helpful? Give feedback.