smtp-client
SMTP Client C Library
smtp_address Struct Reference
+ Collaboration diagram for smtp_address:

Data Fields

char * email
 
char * name
 
enum smtp_address_type type
 
char pad [4]
 

Detailed Description

Stores source and destination email addresses.

Definition at line 93 of file smtp.c.

Field Documentation

◆ email

char* smtp_address::email

Email address without any special formatting.

For example: mail@.nosp@m.exam.nosp@m.ple.c.nosp@m.om

Definition at line 99 of file smtp.c.

Referenced by smtp_address_add(), smtp_address_clear_all(), smtp_append_address_to_header(), and smtp_mail_envelope_header().

◆ name

char* smtp_address::name

Description of the email address.

Definition at line 104 of file smtp.c.

Referenced by smtp_address_add(), smtp_address_clear_all(), and smtp_append_address_to_header().

◆ pad

char smtp_address::pad[4]

Padding structure to align.

Definition at line 114 of file smtp.c.

◆ type

enum smtp_address_type smtp_address::type

Specify from, to, cc, bcc.

Definition at line 109 of file smtp.c.

Referenced by smtp_address_add(), smtp_append_address_to_header(), and smtp_mail().


The documentation for this struct was generated from the following file: