Skip to content

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

Closed
@harlow

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

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