Hi,
How can I add/edit sqwebmail sendit.sh to use a SMTP server for outgoint email?
You don't. Install qmail, and configure qmail to smarthost through the external SMTP server. qmail is the most simplistic, and smallest, mail server around. Why waste time reimplementing an SMTP client, when there's one already that does the job?
pgp00000.pgp
Description: PGP signature
