LogoRobo.js
Packages@robojs/auth

MailParty

Type Alias: MailParty

type MailParty = 
  | string
  | {
  address: string;
  name: string;
};

Represents an email party (sender or recipient). Accepts either a bare email string or a structured { name, address } object (name optional) for readable headers such as "Robo.js <noreply@example.com>".

Examples

'admin@example.com'
{ name: 'Robo.js', address: 'noreply@example.com' }
{ address: 'support@example.com' }

On this page