Unable to find pear channel for swiftmailer

I have swiftmailer installed on my device. Can someone please help me out with this? Is there any other method to add dio.io library in php as I have php 7.3 operating in my emoncms system.

Command is
sudo pear channel-discover pear.swiftmailer

Output.
PHP Warning: PHP Startup: Unable to load dynamic library ‘dio.so’ (tried: /usr/lib/php/20180731/dio.so (/usr/lib/php/20180731/dio.so: cannot open shared object file: No such file or directory), /usr/lib/php/20180731/dio.so.so (/usr/lib/php/20180731/dio.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Discovering channel pear.swiftmailer over http:// failed with message: channel-add: Cannot open “http://pear.swiftmailer/channel.xml” (Connection to pear.swiftmailer:80' failed: php_network_getaddresses: getaddrinfo failed: Name or service not known) Trying to discover channel pear.swiftmailer over https:// instead Discovery of channel "pear.swiftmailer" failed (channel-add: Cannot open "https://pear.swiftmailer/channel.xml" (Connection to ssl://pear.swiftmailer:443’ failed: php_network_getaddresses: getaddrinfo failed: Name or service not known))

Swiftmailer works for me. I am using the following:
EmonCMS Version: low-write 10.2.7
Python 2.7.16
PHP 7.3.19-1

I do recall that in order for swiftmailer to work properly with EmonCMS, it needed to be as such:
“git -C /opt/emoncms/modules clone -b ‘v5.4.8’ --single-branch
GitHub - swiftmailer/swiftmailer: Comprehensive mailing tools for PHP

Reference this link:
If Watt Feed goes to Zero Send Email - #8 by TrystanLea