Closed caronc closed 2 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.27%. Comparing base (
6cd528c
) to head (ffb2dfd
).
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description:
Related issue (if applicable): n/a
This was a report made on Discord where the URL should have worked (imo):
mailtos://?smtp=mobile.charter.net&pass=password&user=name@spectrum.net
Apprise wasn't smart enough to pull the
spectrum.net
hostname from the user login for thehost
until this PR. The user above can still use the URL:mailtos://spectrum.net?smtp=mobile.charter.net&pass=password&user=name@spectrum.net
After this PR, the first URL will work. To avoid ambiguity, emails can now also be specified in the hostname if content was parsed elsewhere; hence the following URL is also valid now:
mailtos://Jason Smith<jsmith%40yahoo.ca>?smtp=mobile.charter.net&pass=password&user=name@spectrum.net
%40
==@
. The idea is if you don't specify a hostname, you're not restricted from putting in your emails you want to transmit to. This becomes theto
and flows with current design.Checklist
flake8
)Testing
Anyone can help test this source code as follows: