smtp From #26862
Replies: 2 comments
|
You've hit a real bug in
In c.send_str('MAIL FROM: <${from}>\r\n')!If which is malformed, so the server rejects it and you get the In Workaround todayPass only the bare address: mail := smtp.Mail{
from: 'ivan@example.com'
to: 'recipient@example.com'
subject: 'Test'
}Trade-off: no display name in the Proposed fixOpened #27072 which adds a small Feedback on the approach welcome — an alternative would be to add an explicit |
|
#27072 has been merged. In future, please create issues, rather than discussions, when reporting a bug. Issues can be auto-closed when PRs are merged, while discussions must be handled manually. |
Uh oh!
There was an error while loading. Please reload this page.
Standart headers
in the standard library, the headers "MAIL FROM:" and "From:" are not separated. This leads to an error
v/vlib/net/smtp/smtp.v
Line 110 in 6e32bd9
v/vlib/net/smtp/smtp.v
Line 245 in 6e32bd9
All reactions