Skip to content

Commit b206fc5

Browse files
committed
docs: update README and tests to reference Mailpit instead of MailHog
1 parent 21b6a30 commit b206fc5

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ Sends an HTML email to the given recipient(s).
5454
Copyright(c) 2022 SoftInstigate srl (https://www.softinstigate.com)
5555
```
5656
57-
## Send a test email message to MailHog
57+
## Send a test email message to Mailpit
5858
59-
To test the sending of e-mails via command line, we suggest running a local SMTP mock server like [MailHog](https://github.com/mailhog/MailHog). Please look at the [MailHog installation instructions](https://github.com/mailhog/MailHog#installation) for setup details.
59+
To test the sending of e-mails via command line, we suggest running a local SMTP mock server like [Mailpit](https://github.com/axllent/mailpit). Please look at the [Mailpit installation instructions](https://github.com/axllent/mailpit#installation) for setup details.
6060
61-
After executing MailHog (usually with the `MailHog` command) you can send your first HTML email message to `localhost` with ErmesMail:
61+
After executing Mailpit (usually with the `mailpit` command) you can send your first HTML email message to `localhost` with ErmesMail:
6262
6363
```shell
6464
$ java -jar target/ermes-mail.jar -h localhost -p 1025 \
@@ -80,7 +80,7 @@ mag 24, 2022 4:46:16 PM com.softinstigate.ermes.mail.EmailService shutdown
8080
INFORMAZIONI: ExecutorService terminated normally after shutdown request.```
8181
```
8282

83-
You can read the e-mail message on the [MailHog UI](http://0.0.0.0:8025/).
83+
You can read the e-mail message on the [Mailpit UI](http://0.0.0.0:8025/).
8484

8585
> **Note**: To send messages via Google SMTP, it is necessary to configure your Gmail account by enabling IMAP. [More information](https://support.google.com/mail/answer/7126229)
8686

@@ -174,7 +174,7 @@ You can configure the SMTP host, port, user, password, and security mode via the
174174
175175
To test different SMTP configurations:
176176
177-
1. Use a local SMTP server like MailHog for development and testing.
177+
1. Use a local SMTP server like Mailpit for development and testing.
178178
2. For SSL (implicit TLS), use the `--sslon` and `--sslport` options (default SSL port is 465).
179179
3. For STARTTLS, use `--starttls` to enable opportunistic STARTTLS, and add `--starttls-required` if you want the client to fail when the server does not advertise STARTTLS.
180180
4. For plain SMTP, omit the `--sslon` and `--starttls` flags and use the standard port (usually 25 or 1025 for local testing).

src/test/java/com/softinstigate/ermes/mail/EmailServiceIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
import org.junit.jupiter.api.Test;
2828

2929
/**
30-
* Start MailHog mock SMTP server first: https://github.com/mailhog/MailHog
30+
* Start Mailpit mock SMTP server first: https://github.com/axllent/mailpit
3131
*/
3232
class EmailServiceIT {
3333

0 commit comments

Comments
 (0)