Skip to main content

spamify

Function spamify 

Source
pub fn spamify(
    s: &str,
    antispam_at: &str,
    antispamdomain: Option<&str>,
    spamprotect: bool,
    spamprotect_id: bool,
) -> String
Expand description

Applies spam protection to email addresses in a string.

Replaces @ with the configured anti-spam string, or substitutes the domain.