thirtybees / tbswiftmailer

This module implements mail functionality using swiftmailer library
Academic Free License v3.0
0 stars 1 forks source link

PHP 8.3 Deprecation warnings #4

Open yaniv14 opened 2 months ago

yaniv14 commented 2 months ago
Message:
Callables of the form ["Swift_MimePart", "Swift_Mime_MimePart::__construct"] are deprecated

Location:
modules/tbswiftmailer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/MimePart.php line 30

modules/tbswiftmailer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/MimePart.php(57): Swift_MimePart->__construct(string(14897): "validateOrder(******, *, ***, "******", null, array(1), 1, false, "***********************")
Message:
Callables of the form ["Swift_SmtpTransport", "Swift_Transport_EsmtpTransport::__construct"] are deprecated

Location:
modules/tbswiftmailer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/SmtpTransport.php line 35
Message:
Callables of the form ["Swift_Image", "Swift_Mime_EmbeddedFile::__construct"] are deprecated

Location:
modules/tbswiftmailer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/EmbeddedFile.php line 30
Message:
Callables of the form ["Swift_Message", "Swift_Mime_SimpleMessage::__construct"] are deprecated

Location:
modules/tbswiftmailer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Message.php line 46
getdatakick commented 2 months ago

This will never be fixed, probably.

This module depends on swiftmailer/swiftmailer composer library, which is no longer maintained. That was the reason why the switfmailer library was removed from core, and replaced by module(s).

This module exists mainly for backwards compatibility reasons, to work as a drop-in replacement for previous core functionality. Users are, however, encouraged to use different mail transport implementation. For example thirtybees/tbphpmailer

yaniv14 commented 1 month ago

In this case i think its not a bug and we can close this issue without dealing with it.