maildev icon indicating copy to clipboard operation
maildev copied to clipboard

add Endpoint for search email

Open fega opened this issue 7 years ago • 7 comments

that would be super useful for testing APIs.

something like

GET /emails/[email protected] GET /emails/[email protected]

would help to get emails and check if their content is correct.

If you want I would be happy to create a PR.

fega avatar Jun 13 '18 16:06 fega

I would get rid of the /_search to make it more RESTful.

A PR would be great. I stepped up a while ago to get a few bug fixes in so we could have a 1.0 release, and then I stalled. New features would come after that release.

kgeis avatar Jun 13 '18 17:06 kgeis

sure, without /_search I don't know what I was thinking 😅

fega avatar Jun 13 '18 19:06 fega

Hey guys, how is this going? This would be super useful for our testing.

MarcosEich avatar Aug 02 '18 13:08 MarcosEich

I'm a little bit bussy so, I dont think that I could implement this soon.

@MarcosEich Have you tried proxyquire? you can get what had been passed to any function with it I'm using it for now

fega avatar Aug 02 '18 14:08 fega

Thanks for the tip, I actually found another test SMTP server that is easier to use and have an API that meets my requirements, so I will use that one for now.

MarcosEich avatar Aug 02 '18 20:08 MarcosEich

Sorry it's been a long time ago, I will look into that, thank you.

oktapodia avatar Mar 22 '19 08:03 oktapodia

@MarcosEich what test SMTP server you found?

zageyiff avatar Mar 04 '21 23:03 zageyiff