## MailMessage.GetEnumerator method

Returns an enumerator that iterates through a collection.

```csharp
public IEnumerator GetEnumerator()
```

### Return Value

An IEnumerator object that can be used to iterate through the collection.

### See Also

* class [MailMessage](../)
* namespace [Aspose.Email](../../mailmessage/)
* assembly [Aspose.Email](../../../)


