Sending SMS froma a Delphi application on Windows???

Is there anyone who can shed some light on this topic?
I want to send a message from my Delphi app on certain error
conditions and I have a modem connected to the PC on which I can dial
out.
So I need to know if there is a way to send an SMS message to a
certain GSM phone number using the modem.
I have control of the serial communication with the modem so I only
need the SMS procedures.
Or maybe this is not the way you do this??

Bo Berglund
bo.bergl...@telia.com