Skip to content

net/smtp: clearer documentation for SendMail #6625

Description

@gopherbot

by faraazs:

Hello,

This is my first bug report for golang. I tried searching for this issue, but
could not find any issues relating to this problem. Please excuse me if I missed
one.

The documentation for net/smtp.SendMail can be clearer. Specifically, it is not
clear that the msg parameter is included directly within the header section. I
have attached a patch that includes a bit more documentation on the msg
parameter.

Attachments:

  1. smtp.patch (734 bytes)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions