Module z_email_receive_check

Check if an e-mail is an auto-reply, bulk message or bounce.

Copyright 2013 Marc Worrell

Authors: Marc Worrell (marc@worrell.nl).

Description

Check if an e-mail is an auto-reply, bulk message or bounce.

Function Index

is_auto/1Check if an e-mail message is an automatic reply or another kind of message.
is_bounce/2Check if this might be a bounce e-mail by inspecting the headers of a received e-mail.
is_bulk/1Check if an e-mail message is a bulk message.
is_nonfatal_bounce/3

Function Details

is_auto/1

is_auto(Email_received::#email_received{}) -> boolean()

Check if an e-mail message is an automatic reply or another kind of message. This uses heuristics on the precedence and the subject of the e-mail.

is_bounce/2

is_bounce(Type::{binary(), binary()}, Headers::[{binary(), binary()}]) -> boolean()

Check if this might be a bounce e-mail by inspecting the headers of a received e-mail.

is_bulk/1

is_bulk(Email_received::#email_received{}) -> boolean()

Check if an e-mail message is a bulk message

is_nonfatal_bounce/3

is_nonfatal_bounce(Type, Headers, Parts) -> any()


Generated by EDoc, Oct 21 2014, 19:29:16.