robotframework-imaplibrary icon indicating copy to clipboard operation
robotframework-imaplibrary copied to clipboard

Add textOnly paramater to get_links_from_email

Open koshie opened this issue 11 years ago • 3 comments

Useful when mail is format in text only

koshie avatar Sep 27 '13 12:09 koshie

I need this option because sometimes I need to bring back a link in format text and not in format HTML. It can be probably useful for someone else.

koshie avatar Oct 10 '13 09:10 koshie

I second this, as I was trying to use get_email_body since the email body was 'text/plain; charset=UTF-8', and get_links_from_email would only search for an anchor tag.

get_email_body is also removing URL parameters since the '=' sign is getting filtered out as quoted-printable data. as an example I have a URL with a token parameter like 'change?token=1023gf5m5lff...', where the first '=10' is getting erased from the rest of the email body that is returned. It looks like someone tried to correct this with a decode('utf-8'), but since it is already going through the quoted-printable filter first, I don't that wouldn't help.

nickmayorga avatar Nov 07 '13 22:11 nickmayorga

Deprecation Warning +++++++++++++++++++

Lovely Systems does not not support this package anymore and do not have any follow up package in the same area. If anyone is interested to continue our efforts and would like to manage the contributors in this open source project, feel free to fork the package and give me a hint, so I can create a link to your fork!

best regards, Manfred (Github: schwendinger, schwendinger at lovelysystems.com)

schwendinger avatar Nov 19 '15 13:11 schwendinger