mail sent over test working fully now
This commit is contained in:
@@ -28,13 +28,16 @@ use serial_test::serial;
|
||||
// Non-secret production SMTP settings (mirror `.env`). The password is
|
||||
// intentionally NOT here: it is supplied at runtime via `SMTP_PASSWORD`
|
||||
// (direnv -> `pass`), and never committed.
|
||||
const SMTP_HOST: &str = "smtp.kompress.sk";
|
||||
// Dial the name the TLS cert is actually valid for. `smtp.kompress.sk` is a
|
||||
// DNS alias for the same server (213.215.124.101) but the cert only lists
|
||||
// smtp.euronet.sk, so connecting via the alias fails certificate validation.
|
||||
const SMTP_HOST: &str = "smtp.euronet.sk";
|
||||
const SMTP_PORT: &str = "587";
|
||||
const SMTP_USER: &str = "kompres";
|
||||
const SMTP_SECURE: &str = "true";
|
||||
|
||||
// Where the test email is sent. Override with `MAILER_TEST_TO`.
|
||||
const DEFAULT_RECIPIENT: &str = "filipriec@gmail.com";
|
||||
const DEFAULT_RECIPIENT: &str = "filippriec@tutanota.com";
|
||||
|
||||
#[tokio::test]
|
||||
#[serial]
|
||||
|
||||
Reference in New Issue
Block a user