foreach_part


Description:

[ Version ( since = "3.34" ) ]
public void foreach_part (ForeachPartFunc? callback)

Calls callback for each part of the this, including the message itself.

The traverse of the this parts can be stopped when the callback returns false.

Parameters:

this

a MimeMessage

callback

a ForeachPartFunc callback to call for each part

user_data

user data passed to the callback