Method for email testing

后端 未结 14 1658
眼角桃花
眼角桃花 2020-12-24 01:56

I am writing a program that will be emailing reports out many (~100) clients which I want to test before I spam everyone.

I want to do a test run against my producti

14条回答
  •  隐瞒了意图╮
    2020-12-24 02:37

    In java you can use dumbster

    Its easy to use and you can validate every aspect of the email you are intercepting.

    It's a Java SMTP server implementation meant for unit testing. (Just make sure you redirect your email to the machine running dumbster...)


    I just found another alternative that do almost the same: Greenmail

    Greenmail also support POP3, IMAP with SSL so you can test your client against it.

提交回复
热议问题