Hi, I forgot to "declare" 'result' in smtpmail-send-it. Here is an updated version.