[ 'verify_peer' => false, 'verify_peer_name' => false, 'allow_self_signed' => true, ], ];*/ // DKIM requires the generation of a public/private keypair and the configuration of a TXT record in your DNS // The TXT record should look like this: chamilo._domainkey.yourdomain.ext IN TXT "v=1; k=rsa; s=chamilo; p=PubKey..." // to match the following selector // Also, using SMTP_UNIQUE_SENDER is required if users have e-mails from different domains $platform_email['DKIM'] = 0; //enable DKIM by setting this to 1 $platform_email['DKIM_SELECTOR'] = 'chamilo'; // an indicator of the application sending the e-mail through this specific DKIM key $platform_email['DKIM_DOMAIN'] = 'mydomain.com'; //the domain for e-mail sending, not necessarily api_get_path(WEB_PATH) $platform_email['DKIM_PRIVATE_KEY_STRING'] = ''; //the private key in a string format $platform_email['DKIM_PRIVATE_KEY'] = ''; //the private key as the path to a file. The file needs to be accessible to PHP! $platform_email['DKIM_PASSPHRASE'] = ''; //the passohrase for the private key defined in the last 2 lines // Some e-mail clients do not understand the descriptive LD+JSON format, // showing it as a loose JSON string to the final user. If this is your case, // you might want to set the variable below to 'false' to disable this header. $platform_email['EXCLUDE_JSON'] = false; // Fill the following only for mail services with OAuth2.0 authentication. Otherwise leave untouched. $platform_email['XOAUTH2_METHOD'] = false; $platform_email['XOAUTH2_URL_AUTHORIZE'] = 'https://provider.example/oauth2/auth'; $platform_email['XOAUTH2_URL_ACCES_TOKEN'] = 'https://provider.example/token'; $platform_email['XOAUTH2_URL_RESOURCE_OWNER_DETAILS'] = 'https://provider.example/userinfo'; $platform_email['XOAUTH2_SCOPES'] = ''; $platform_email['XOAUTH2_CLIENT_ID'] = ''; $platform_email['XOAUTH2_CLIENT_SECRET'] = ''; $platform_email['XOAUTH2_REFRESH_TOKEN'] = '';