SMTP with gnus & zoho

SMTP with gnus & zoho

I've tried to send mail via smtp.zoho.com with various versions of gnus, but it inevitably times out with an SMTP not running error. 

Here's the backtrace:

  1. Debugger entered--Lisp error: (error "Process SMTP not running")
      process-send-string(#<process SMTP> "QUIT")
      smtpmail-send-command(#<process SMTP> "QUIT")
      byte-code("\203 ^@r\302!q\210\303\304\"\210\305!\210\306!\210 



  2. smtpmail-via-smtp(("destination@email.address") #<buffer  smtpmail temp>)
      smtpmail-send-it()
      message-multi-smtp-send-mail()
      gnus-agent-send-mail()
      message-send-mail(nil)
      message-send-via-mail(nil)
      message-send(nil)
      message-send-and-exit(nil)
      call-interactively(message-send-and-exit nil nil)









Here are relevant sections of from my .gnus.el:
  1. ;; zoho inbound settings:
  2. (setq gnus-select-method '(nnimap "zoho"
    (nnimap-address "imap.zoho.com")
    (nnimap-server-port 993)
    (nnimap-authinfo-file "~/.authinfo")
    (nnimap-stream ssl)))




  3.  (setq starttls-use-gnutls t)
     (require 'ssl)                
     (require 'starttls) 



  1. ;; outbound zoho mail

  2. (require 'smtpmail)

    (setq smtpmail-starttls-credentials '(("smtp.zoho.com" 465 nil nil))
    smtpmail-smtp-server "smtp.zoho.com"
    smtpmail-default-smtp-server "smtp.zoho.com"
    send-mail-function 'smtpmail-send-it
    message-send-mail-function 'smtpmail-send-it
    smtpmail-smtp-service 465
    smtpmail-auth-credentials '(("smtp.zoho.com" 465 "username" "supersecret"))
    smtpmail-debug-info t
    smtpmail-debug-verb t)











Thanks in advance for any assistance