question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to write password in the mailtos if your password contains '@' ?

See original GitHub issue

Question

For example:

mailtos://user:pass@smtp.gmail.com?to=<recipient email address>

the command expects ‘’@" as a separator. So how to write a password with @ in…?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
caronccommented, Jul 9, 2021

@N1c093 thanks for sharing your solution. @oregonpillow ; you’re issue is very similar to #399

Basically the problem is that the @ conflicts with the Apprise URL as you’ve already observed (see here too). But you can escape it and it should work fine, or you can stick the password as an attribute at the end (already kindly suggested by @N1c093 )

So for example; the escaped way (assuming a password of myp@assword as an example):

  • mailtos://user:myp%40ssword@hostname

Or just defining the password as a arg (no escaping necessary for this route):

  • mailtos://user:_@hostname?pass=myp@ssword

Give either suggestion a try and let me know if you still have any questions! 👍

0reactions
caronccommented, Jul 29, 2021

Okay, 🤷‍♂️

If you ever decide to give it another go you can join Discord and I can better help you through the chat. Sorry to hear you’re giving up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If Mail on your Mac keeps asking for your password
Check your password in Internet Accounts preferences · Quit Mail. · Choose Apple menu > System Settings (or System Preferences), then click ...
Read more >
LAM Quick Reference Guide
Enter your username (email) and password. ... First Name, Last Name, Organization (this will only bring the orgs for which you have access),...
Read more >
Strong email password and 2FA | mail.com blog
From there they can, for example, go to your favorite online shopping site, enter your email address, click the “Forgot password” button, and...
Read more >
How to inlcude random password in email text for sending
Hi there, I have create an email text entry, where the user will enter their email. After they hit the "continue" button, it...
Read more >
Notify_email · caronc/apprise Wiki - GitHub
Just make sure you identify the email address you're using when you build the ... mailtos://user:password@server.com?smtp=smtp.server.com.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found