Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C cl-smtp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cl-smtp
  • cl-smtp
  • Issues
  • #1
Closed
Open
Issue created Oct 24, 2015 by Dave Cooper@dcooperContributor

Exported symbols don't come through in modern-mode Lisp

Hi,

To get e.g. (cl-smtp:send-email ...) to be recognized in a so-called "modern-mode" CL, I had to change the export section to be as follows:

(defpackage :cl-smtp
  (:use :cl :asdf :flexi-streams :trivial-gray-streams)
  (:export #:send-email
           #:with-smtp-mail
           #:smtp-error
           #:smtp-protocol-error
           #:no-supported-authentication-method
           #:rcpt-failed
           #:ignore-recipient
           #:attachment
           #:make-attachment
           #:attachment-name
           #:attachment-data-pathname
           #:attachment-mime-type
           #:rfc2045-q-encode-string
           #:rfc2231-encode-string
           #:write-rfc8822-message)  
  #+nil
  (:export "SEND-EMAIL"
           "WITH-SMTP-MAIL"
           "SMTP-ERROR"
           "SMTP-PROTOCOL-ERROR"
           "NO-SUPPORTED-AUTHENTICATION-METHOD"
           "RCPT-FAILED"
           "IGNORE-RECIPIENT"
           "ATTACHMENT"
           "MAKE-ATTACHMENT"
           "ATTACHMENT-NAME"
           "ATTACHMENT-DATA-PATHNAME"
           "ATTACHMENT-MIME-TYPE"
           "RFC2045-Q-ENCODE-STRING"
           "RFC2231-ENCODE-STRING"
           "WRITE-RFC8822-MESSAGE"))

If you're ok with this change, could you roll it in? If so, and if a proper git patch or merge request would be more convenient, then please just let me know.

Best Regards and thank you for all the maintenance effort,

Dave Cooper

Assignee
Assign to
Time tracking