lovelysystems / robotframework-imaplibrary

Mail Library for Robot Framework
29 stars 87 forks source link

Feature Request: Additional argument for "Wait for Mail" Keyword #25

Open winko opened 9 years ago

winko commented 9 years ago

Hi! It would be helpful to have additional argument in the "Wait for Mail" keyword. I would like to propose the optional argument "subjectSubstring" which would be a substring of the subject of the email.

Functionality: The "Wait for Mail" keyword waits for incoming mails until an email is received. If the optional argument "subjectSubstring" is set and if the subject of the email contains "subjectSubstring", than the mail number will be returned. Else wait for the next email or until the timeout is exceeded.

Regards!