pull/1/head
ClaraCrazy 2023-11-02 07:41:52 +01:00
parent d7ddf18dd5
commit b41d731c6c
7 changed files with 7 additions and 8 deletions

View File

@ -2,7 +2,7 @@
"name": "48hr.email | disposable email",
"description": "a simple and fast disposable mail service that works directly with your imap server. No database required.",
"repository": "https://github.com/Crazyco-xyz/48hr.email",
"logo": "https://github.com/Crazyco-xyz/48hr.email/blobl/main/infrastructure/web/public/images/logo.gif",
"logo": "https://github.com/Crazyco-xyz/48hr.email/blobl/main/infrastructure/web/public/images/logo.png",
"keywords": [
"node",
"disposable-mail"
@ -24,7 +24,7 @@
"description": "How often to refresh the imap messages manually"
},
"DELETE_MAILS_OLDER_THAN_DAYS": {
"description": "How many days to to wait before deleting messages. (default: `30`)"
"description": "How many days to to wait before deleting messages."
}
}
}

View File

@ -46,7 +46,7 @@ imaps.ImapSimple.prototype.deleteMessage = function (uid, callback) {
/**
* Close a mailbox
*
* @param {boolean} [autoExpunge=true] If autoExpunge is true, any messages marked as Deleted in the currently open mailbox will be remove
* @param {boolean} [autoExpunge=true] If autoExpunge is true, any messages marked as Deleted in the currently open mailbox will be removed
* @param {function} [callback] Optional callback, receiving signature (err)
* @returns {undefined|Promise} Returns a promise when no callback is specified, resolving to `boxName`
* @memberof ImapSimple

View File

@ -67,7 +67,6 @@ class MailProcessingService extends EventEmitter {
onMailDeleted(uid) {
debug('mail deleted with uid', uid)
this.mailRepository.removeUid(uid)
// No client notification required, as nobody can hold a connection for 30+ days.
}
async _deleteOldMails() {

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

Before

Width:  |  Height:  |  Size: 73 KiB

After

Width:  |  Height:  |  Size: 73 KiB

View File

@ -6,7 +6,7 @@ function showNewMailsNotification(address, reloadPage) {
const notification = new Notification(address, {
body: 'You have new messages',
icon: '/images/logo.gif',
icon: '/images/logo.png',
tag: '48hr-email-replace-notification',
renotify: true
})

View File

@ -7,9 +7,9 @@
<meta name="darkreader" content="stfu">
<meta name="description" content="Dont give shady companies your real email. Use 48hr.email to protect your privacy!">
<meta property="og:image" content="/images/logo.gif">
<meta property="og:image" content="/images/logo.png">
<link rel="shortcut icon" href="/images/icon.ico">
<link rel="shortcut icon" href="/images/logo.ico">
<link rel='stylesheet' href='/dependencies/milligram.css' />
<link rel='stylesheet' href='/stylesheets/custom.css' />
@ -20,7 +20,7 @@
<body>
<main>
<a href="/">
<img src="/images/logo.gif" class="logo" style="max-width: 75px">
<img src="/images/logo.png" class="logo" style="max-width: 75px">
</a>
{% block body %}{% endblock %}
</main>