TempMail.NET
Temporary email library for .NET (wrapper) based on 1secmail.com API
Install / Use
/learn @Erol444/TempMail.NETREADME
.NET TempMail library
Based on 1secmail.com API
Features
- Create new mailbox(es)
- Check the mailbox for new emails
- Fetch an email
- Wait for an email based on the specified requirement(s)
Add using statement
using TempMail;
Code example
async Task TemporaryEmailDemo()
{
using (var tempMail = new TemporaryMail())
{
var mailbox = await tempMail.GenerateRandomMailbox();
// Some code eg. await registrationService.Register(mailbox);
// Email address of the sender has to contain "example.com"
// and email must not be older than 2 minutes
var email = await tempMail.WaitForEmail(mailbox,
x => x.from.Contains("example.com") && DateTime.Now < x.GetDate().AddMinutes(2)
);
// Some code eg. parse email body for the activation code / url
Console.WriteLine(email.body);
}
}
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
