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

Data Fields

struct smtpsmtp
 
char subject [SMTP_TEST_SUBJECT_LEN]
 
char body [SMTP_TEST_BODY_LEN]
 
char server [SMTP_MAX_SERVER_LEN]
 
char cafile [SMTP_MAX_CAFILE_PATH]
 
char port [SMTP_MAX_PORT_LEN]
 
char port_tls [SMTP_MAX_PORT_LEN]
 
char user [SMTP_MAX_EMAIL_LEN]
 
char pass [SMTP_MAX_PASS_LEN]
 
char email_from [SMTP_MAX_EMAIL_LEN]
 
char email_to [SMTP_MAX_EMAIL_LEN]
 
char email_to_2 [SMTP_MAX_EMAIL_LEN]
 
char email_to_3 [SMTP_MAX_EMAIL_LEN]
 

Detailed Description

Stores details from the server configuration file.

Most of these fields get loaded from separate configuration files because those files contain sensitive account information.

Definition at line 131 of file test.c.

Field Documentation

◆ body

◆ cafile

char smtp_test_config::cafile[SMTP_MAX_CAFILE_PATH]

Path to server certificate file.

Definition at line 159 of file test.c.

Referenced by smtp_func_test_all_cafile(), smtp_test_config_load_from_file(), and test_failure_open().

◆ email_from

◆ email_to

◆ email_to_2

char smtp_test_config::email_to_2[SMTP_MAX_EMAIL_LEN]

Email destination address (2nd).

Definition at line 194 of file test.c.

Referenced by smtp_func_test_all_address(), smtp_func_test_all_names(), smtp_test_config_load_from_file(), and test_smtp_open_default().

◆ email_to_3

char smtp_test_config::email_to_3[SMTP_MAX_EMAIL_LEN]

Email destination address (3rd).

Definition at line 199 of file test.c.

Referenced by smtp_func_test_all_address(), smtp_func_test_all_names(), and smtp_test_config_load_from_file().

◆ pass

◆ port

◆ port_tls

char smtp_test_config::port_tls[SMTP_MAX_PORT_LEN]

Server port number for direct TLS connection.

Definition at line 169 of file test.c.

Referenced by smtp_func_test_all_connection_security(), and smtp_test_config_load_from_file().

◆ server

◆ smtp

◆ subject

◆ user


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