docs: clarify documentation
This commit is contained in:
+3
-2
@@ -163,8 +163,9 @@ impl EmailSettings {
|
|||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
/// Returns a `ContactError` if the email address in the `from` field cannot be parsed
|
/// Returns a `ContactError` if the email address in the `from`
|
||||||
/// into a valid mailbox. This can occur if:
|
/// field of `recipient` cannot be parsed into a valid mailbox.
|
||||||
|
/// This can occur if:
|
||||||
/// - The email address format is invalid
|
/// - The email address format is invalid
|
||||||
/// - The email address contains invalid characters
|
/// - The email address contains invalid characters
|
||||||
/// - The email address structure is malformed
|
/// - The email address structure is malformed
|
||||||
|
|||||||
Reference in New Issue
Block a user