Site invite module: email-check code mail for Video App Income's network gate (/api/partner/invite/code: fixed wording, no links, requested = transactional, 5 an hour per address, 2,000 a day; typo and throwaway domains refused); mailer.send opts.fromName = the site's name on the same authenticated address; chatbot answer extended (Marty 2026-11-21: every Video App Income member must be a network member, as frictionless as possible)
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -51,7 +51,7 @@ async function send(to, subject, text, html, opts) { // html optional (2026-10-0
|
||||
if (html) content.push({ type: 'text/html', value: html });
|
||||
const msg = {
|
||||
personalizations: [{ to: [{ email: to }] }],
|
||||
from: FROM,
|
||||
from: opts && opts.fromName ? { email: FROM.email, name: String(opts.fromName).slice(0, 60) } : FROM, // same authenticated address; another network site's name on mail sent for it (siteinvite.js code mail, 2026-11-21)
|
||||
subject,
|
||||
content
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user