Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[fix] Email: use normal to_string function for the From field (keeps …

…the name)
  • Loading branch information...
commit 2ce0604f50053170fbe3a5fe6283654c96778eb5 1 parent 3e9521d
Frederic Ye Aqua-Ye authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  stdlib/web/mail/email.opa
2  stdlib/web/mail/email.opa
View
@@ -246,7 +246,7 @@ Email = {{
caml_list4(files)
end
custom_headers = caml_list2(options.custom_headers)
- send_mail(to_string_only_address(from), to_string_only_address(to), subject, text, html, files, custom_headers, k)
+ send_mail(to_string(from), to_string_only_address(to), subject, text, html, files, custom_headers, k)
/** Try to send a mail synchronously */
try_send(from : Email.email, to : Email.email, subject : string, content : Email.content, options : Email.options) : Email.send_status =
Please sign in to comment.
Something went wrong with that request. Please try again.