diff --git a/system/application/libraries/Postmark.php b/system/application/libraries/Postmark.php index fe88dec..96e773f 100644 --- a/system/application/libraries/Postmark.php +++ b/system/application/libraries/Postmark.php @@ -538,11 +538,11 @@ function send($from_address = null, $from_name = null, $to_address = null, $to_n $ch = curl_init(); if (is_null($this->_template_id)) { - curl_setopt($ch, CURLOPT_URL, 'http://api.postmarkapp.com/email'); + curl_setopt($ch, CURLOPT_URL, 'https://api.postmarkapp.com/email'); } else { - curl_setopt($ch, CURLOPT_URL, 'http://api.postmarkapp.com/email/withTemplate'); + curl_setopt($ch, CURLOPT_URL, 'https://api.postmarkapp.com/email/withTemplate'); } curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);