Skip to content

net/smtp: timeout support similar to net.DialTimeout #16436

Description

@harlow

Similar to the addition of DialTimeout to net package:
#240

func DialTimeout(net, addr string, timeout time.Duration) (Conn, error) {

Would be nice to add some symmetry with DialTimeout for smtp package:
https://github.com/golang/go/blob/master/src/net/smtp/smtp.go#L43-L45

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

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions