dm_mail_url Function

public function dm_mail_url(host, port, tls) result(url)

Returns allocatable string of SMTP server URL in the form smtp[s]://host[:port]/. Uses the URL API of libcurl to create the URL. By default, Transport Layer Security is disabled.

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: host

SMTP server host name.

integer, intent(in), optional :: port

SMTP server port (up to 5 digits).

logical, intent(in), optional :: tls

Transport-layer security.

Return Value character(len=:), allocatable

URL of SMTP server.


Calls

proc~~dm_mail_url~~CallsGraph proc~dm_mail_url dm_mail_url curl_url curl_url proc~dm_mail_url->curl_url curl_url_cleanup curl_url_cleanup proc~dm_mail_url->curl_url_cleanup curl_url_get curl_url_get proc~dm_mail_url->curl_url_get curl_url_set curl_url_set proc~dm_mail_url->curl_url_set interface~dm_itoa dm_itoa proc~dm_mail_url->interface~dm_itoa

Called by

proc~~dm_mail_url~~CalledByGraph proc~dm_mail_url dm_mail_url proc~dm_mail_create_server dm_mail_create_server proc~dm_mail_create_server->proc~dm_mail_url interface~dm_mail_create dm_mail_create interface~dm_mail_create->proc~dm_mail_create_server