• Dear Takayuki,

    こんにちは

    Can I use before_send_mail() to deny form submission/sending of mail based on some custom checks ?

    How/where can I check against the sender email or the title or the content for a string comparison, or regex against the text. for example, if the content of the message contains a bad word or the email address is a specific domain.

    I know there is a spam plugin, but I want to do something more custom.

    • This topic was modified 6 years, 5 months ago by sinebyte.
  • The topic ‘Filter mail based on content using regex/strcmp?’ is closed to new replies.