python-guerrillamail icon indicating copy to clipboard operation
python-guerrillamail copied to clipboard

Is it possible to set a custom email?

Open TravisMeister opened this issue 8 years ago • 9 comments

As the title says I wanted to know if using your library is possible to set my own custom email rather than just getting a random one.

TravisMeister avatar Aug 05 '16 10:08 TravisMeister

And I mean, set using pure python, instead of using CLI

TravisMeister avatar Aug 05 '16 10:08 TravisMeister

Hi, I got another problem, somehow GuerrillaMail strips all the HTML tags on the email, and I really need to grab a link contained within the body of the message. Is that possible?

TravisMeister avatar Aug 05 '16 10:08 TravisMeister

Yes:

session.set_email_address("harry")

ncjones avatar Aug 05 '16 10:08 ncjones

Cool but how can I fetch the last email received? There is a function for that?

TravisMeister avatar Aug 05 '16 10:08 TravisMeister

This should give you the latest email:

session.get_email_list()[0]

I'm not sure about the issue with the HTML tags. Maybe you can use a regex to find the link URL.

ncjones avatar Aug 05 '16 10:08 ncjones

Now I get the email, but its now showing me the links within the message. How can I do that?

TravisMeister avatar Aug 05 '16 10:08 TravisMeister

Can I specify the extension? instead of @guerrillamailblock.com can i use another?

nubonics avatar Oct 08 '19 08:10 nubonics

It is not necessary to specify a domain when configuring the inbox for a guerillamail session. While there are a number of domains in use by the guerillamail server hosted at guerillamail.com, only the local part of the email address (the part before the "@") is used to identify the destination inbox. For example both [email protected] and [email protected] will be delivered to the "test" inbox on the guerillamail.com mail server.

ncjones avatar Oct 08 '19 09:10 ncjones

Right on!

Thank you for your reply!

nubonics avatar Oct 08 '19 16:10 nubonics