Or the article is about how to call a function in Python because smtplib does the email part. I mean, you make the thing happen, I don't really understand why you draw this distinction (or where you would stop).
Because the main part of the article is about sending a mail with python and the actual method to send an SMS is just send a mail to a specific mail address.
So put that on top and you can ignore the remaining 90% of the article.
It doesn't even mention that this method could lead to costs for the recipient.
For instance in germany you have to activate that feature for t-mobile numbers and they charge you for received emails per SMS
Sure, it's a little long, and I was also disappointed that it presented a method I was already familiar with. However claiming that it's not sending SMS because you make something else send the SMS is a dishonest.