ono@lemmy.catoProgramming@beehaw.org•[~~help~~ workaround found] insert a single line break in html (Qt6 RichText)English
2·
1 year agoI have to use <br> instead of <br>
I suspect those two tags were different when you wrote them, and Lemmy mangled them like it did in my comments. Can you describe the tags you originally wrote, to avoid the mangling? I’m curious about what exactly worked for you.
Your current approach of talking raw SMTP is likely to be more hassle than is worthwhile, and since the days of permissive SMTP servers are long gone, might not work at all.
Since you appear to be using an Debian-based Linux distro, I suggest this approach:
apt install dma
/usr/sbin/sendmail
command (which comes with dma or exim) to send messages from your scripting language of choice.If you prefer to receive messages as SMS, note that most major mobile carriers maintain an email-to-sms gateway for this purpose. Some web searches will probably lead you to the one for your carrier. They usually accept email at an address like 123456789@sms-gateway.example.com