git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14438...
[squirrelmail.git] / src / vcard.php
index dc9ed7c2692c0a27d094f299f12c1cfbd9e7ad34..d17684488900bad7ab09a34278352d89a0742a92 100644 (file)
@@ -41,7 +41,8 @@ sqgetGlobalVar('ent_id', $ent_id, SQ_GET);
 sqgetGlobalVar('startMessage', $startMessage, SQ_GET);
 /* end globals */
 
-$imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, 0);
+global $imap_stream_options; // in case not defined in config
+$imapConnection = sqimap_login($username, false, $imapServerAddress, $imapPort, 0, $imap_stream_options);
 sqimap_mailbox_select($imapConnection, $mailbox);
 
 displayPageHeader($color);