# here is my login details

**URL:** https://forum.mautic.org/t/here-is-my-login-details/7304
**Category:** Product Support
**Created:** [January 29, 2017, 8:34pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304 "2017-01-29T20:34:33Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![RobertTaylor](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RobertTaylor](https://forum.mautic.org/u/RobertTaylor)
#### Post date: [January 29, 2017, 8:34pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/1 "2017-01-29T20:34:33Z")

</div>

[http://leads.howtoscreenprint.com](http://leads.howtoscreenprint.com)  
  
  
  
username:RobertTaylor  
  
password:bianca7770746682930  
  
  
  
Postmark API Key  
  
33475d80-3a85-4c9c-a57c-c8dd0cc8b9f6  
  
  
  
no worries I can change the password but it is a clean install

---

<div class="post-metadata">

### Author: ![RobertTaylor](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RobertTaylor](https://forum.mautic.org/u/RobertTaylor)
#### Post date: [January 29, 2017, 8:34pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/2 "2017-01-29T20:34:33Z")

</div>

[http://leads.howtoscreenprint.com](http://leads.howtoscreenprint.com)

username:RobertTaylor  
password:bianca7770746682930

Postmark API Key  
33475d80-3a85-4c9c-a57c-c8dd0cc8b9f6

no worries I can change the password but it is a clean install

---

<div class="post-metadata">

### Author: ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)
#### Post date: [January 29, 2017, 8:40pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/3 "2017-01-29T20:40:44Z")

</div>

@RobertTaylor

Ok Let me check

---

<div class="post-metadata">

### Author: ![RobertTaylor](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RobertTaylor](https://forum.mautic.org/u/RobertTaylor)
#### Post date: [January 29, 2017, 8:50pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/4 "2017-01-29T20:50:33Z")

</div>

@bizcrony

Thank you

---

<div class="post-metadata">

### Author: ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)
#### Post date: [January 29, 2017, 8:55pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/5 "2017-01-29T20:55:13Z")

</div>

@RobertTaylor

Why you not use PHP Mail…

---

<div class="post-metadata">

### Author: ![RobertTaylor](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RobertTaylor](https://forum.mautic.org/u/RobertTaylor)
#### Post date: [January 29, 2017, 8:56pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/6 "2017-01-29T20:56:48Z")

</div>

@bizcrony

will that work?

I just read somewgere that i should not use phpmail, b ut if it works I am more than happy to use it , just want it to work 🙂

---

<div class="post-metadata">

### Author: ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)
#### Post date: [January 29, 2017, 8:59pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/7 "2017-01-29T20:59:32Z")

</div>

[2017-01-29 20:47:18] mautic.ERROR: Warning: stream\_socket\_client(): unable to connect to tcp://smtp.postmarkapp.com:587 (Connection timed out) - in file /home/screenp9/leads/vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php - at line 267 [] []

This is the Error and i have to fix this Php file and debug this error , can you provide me this file or FTP excess …

s…k…p…  
e…

kishan.lal.kumawat

---

<div class="post-metadata">

### Author: ![RobertTaylor](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RobertTaylor](https://forum.mautic.org/u/RobertTaylor)
#### Post date: [January 29, 2017, 9:05pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/8 "2017-01-29T21:05:01Z")

</div>

\<?php /\* \* This file is part of SwiftMailer. \* (c) 2004-2009 Chris Corbyn \* \* For the full copyright and license information, please view the LICENSE \* file that was distributed with this source code. \*/ /\*\* \* A generic IoBuffer implementation supporting remote sockets and local processes. \* \* @author Chris Corbyn \*/ class Swift\_Transport\_StreamBuffer extends Swift\_ByteStream\_AbstractFilterableInputStream implements Swift\_Transport\_IoBuffer { /\*\* A primary socket \*/ private $\_stream; /\*\* The input stream \*/ private $\_in; /\*\* The output stream \*/ private $\_out; /\*\* Buffer initialization parameters \*/ private $\_params = array(); /\*\* The ReplacementFilterFactory \*/ private $\_replacementFactory; /\*\* Translations performed on data being streamed into the buffer \*/ private $\_translations = array(); /\*\* \* Create a new StreamBuffer using $replacementFactory for transformations. \* \* @param Swift\_ReplacementFilterFactory $replacementFactory \*/ public function \_\_construct(Swift\_ReplacementFilterFactory $replacementFactory) { $this-\>\_replacementFactory = $replacementFactory; } /\*\* \* Perform any initialization needed, using the given $params. \* \* Parameters will vary depending upon the type of IoBuffer used. \* \* @param array $params \*/ public function initialize(array $params) { $this-\>\_params = $params; switch ($params['type']) { case self::TYPE\_PROCESS: $this-\>\_establishProcessConnection(); break; case self::TYPE\_SOCKET: default: $this-\>\_establishSocketConnection(); break; } } /\*\* \* Set an individual param on the buffer (e.g. switching to SSL). \* \* @param string $param \* @param mixed $value \*/ public function setParam($param, $value) { if (isset($this-\>\_stream)) { switch ($param) { case 'timeout': if ($this-\>\_stream) { stream\_set\_timeout($this-\>\_stream, $value); } break; case 'blocking': if ($this-\>\_stream) { stream\_set\_blocking($this-\>\_stream, 1); } } } $this-\>\_params[$param] = $value; } public function startTLS() { return stream\_socket\_enable\_crypto($this-\>\_stream, true, STREAM\_CRYPTO\_METHOD\_TLS\_CLIENT); } /\*\* \* Perform any shutdown logic needed. \*/ public function terminate() { if (isset($this-\>\_stream)) { switch ($this-\>\_params['type']) { case self::TYPE\_PROCESS: fclose($this-\>\_in); fclose($this-\>\_out); proc\_close($this-\>\_stream); break; case self::TYPE\_SOCKET: default: fclose($this-\>\_stream); break; } } $this-\>\_stream = null; $this-\>\_out = null; $this-\>\_in = null; } /\*\* \* Set an array of string replacements which should be made on data written \* to the buffer. \* \* This could replace LF with CRLF for example. \* \* @param string[] $replacements \*/ public function setWriteTranslations(array $replacements) { foreach ($this-\>\_translations as $search =\> $replace) { if (!isset($replacements[$search])) { $this-\>removeFilter($search); unset($this-\>\_translations[$search]); } } foreach ($replacements as $search =\> $replace) { if (!isset($this-\>\_translations[$search])) { $this-\>addFilter( $this-\>\_replacementFactory-\>createFilter($search, $replace), $search ); $this-\>\_translations[$search] = true; } } } /\*\* \* Get a line of output (including any CRLF). \* \* The $sequence number comes from any writes and may or may not be used \* depending upon the implementation. \* \* @param int $sequence of last write to scan from \* \* @throws Swift\_IoException \* \* @return string \*/ public function readLine($sequence) { if (isset($this-\>\_out) && !feof($this-\>\_out)) { $line = fgets($this-\>\_out); if (strlen($line) == 0) { $metas = stream\_get\_meta\_data($this-\>\_out); if ($metas['timed\_out']) { throw new Swift\_IoException( 'Connection to '. $this-\>\_getReadConnectionDescription(). ' Timed Out' ); } } return $line; } } /\*\* \* Reads $length bytes from the stream into a string and moves the pointer \* through the stream by $length. \* \* If less bytes exist than are requested the remaining bytes are given instead. \* If no bytes are remaining at all, boolean false is returned. \* \* @param int $length \* \* @throws Swift\_IoException \* \* @return string|bool \*/ public function read($length) { if (isset($this-\>\_out) && !feof($this-\>\_out)) { $ret = fread($this-\>\_out, $length); if (strlen($ret) == 0) { $metas = stream\_get\_meta\_data($this-\>\_out); if ($metas['timed\_out']) { throw new Swift\_IoException( 'Connection to '. $this-\>\_getReadConnectionDescription(). ' Timed Out' ); } } return $ret; } } /\*\* Not implemented \*/ public function setReadPointer($byteOffset) { } /\*\* Flush the stream contents \*/ protected function \_flush() { if (isset($this-\>\_in)) { fflush($this-\>\_in); } } /\*\* Write this bytes to the stream \*/ protected function \_commit($bytes) { if (isset($this-\>\_in)) { $bytesToWrite = strlen($bytes); $totalBytesWritten = 0; while ($totalBytesWritten \< $bytesToWrite) { $bytesWritten = fwrite($this-\>\_in, substr($bytes, $totalBytesWritten)); if (false === $bytesWritten || 0 === $bytesWritten) { break; } $totalBytesWritten += $bytesWritten; } if ($totalBytesWritten \> 0) { return ++$this-\>\_sequence; } } } /\*\* \* Establishes a connection to a remote server. \*/ private function \_establishSocketConnection() { $host = $this-\>\_params['host']; if (!empty($this-\>\_params['protocol'])) { $host = $this-\>\_params['protocol'].'://'.$host; } $timeout = 15; if (!empty($this-\>\_params['timeout'])) { $timeout = $this-\>\_params['timeout']; } $options = array(); if (!empty($this-\>\_params['sourceIp'])) { $options['socket']['bindto'] = $this-\>\_params['sourceIp'].':0'; } if (isset($this-\>\_params['stream\_context\_options'])) { $options = array\_merge($options, $this-\>\_params['stream\_context\_options']); } $streamContext = stream\_context\_create($options); $this-\>\_stream = @stream\_socket\_client($host.':'.$this-\>\_params['port'], $errno, $errstr, $timeout, STREAM\_CLIENT\_CONNECT, $streamContext); if (false === $this-\>\_stream) { throw new Swift\_TransportException( 'Connection could not be established with host '.$this-\>\_params['host']. ' ['.$errstr.' #'.$errno.']' ); } if (!empty($this-\>\_params['blocking'])) { stream\_set\_blocking($this-\>\_stream, 1); } else { stream\_set\_blocking($this-\>\_stream, 0); } stream\_set\_timeout($this-\>\_stream, $timeout); $this-\>\_in = &$this-\>\_stream; $this-\>\_out = &$this-\>\_stream; } /\*\* \* Opens a process for input/output. \*/ private function \_establishProcessConnection() { $command = $this-\>\_params['command']; $descriptorSpec = array( 0 =\> array('pipe', 'r'), 1 =\> array('pipe', 'w'), 2 =\> array('pipe', 'w'), ); $this-\>\_stream = proc\_open($command, $descriptorSpec, $pipes); stream\_set\_blocking($pipes[2], 0); if ($err = stream\_get\_contents($pipes[2])) { throw new Swift\_TransportException( 'Process could not be started ['.$err.']' ); } $this-\>\_in = &$pipes[0]; $this-\>\_out = &$pipes[1]; } private function \_getReadConnectionDescription() { switch ($this-\>\_params['type']) { case self::TYPE\_PROCESS: return 'Process '.$this-\>\_params['command']; break; case self::TYPE\_SOCKET: default: $host = $this-\>\_params['host']; if (!empty($this-\>\_params['protocol'])) { $host = $this-\>\_params['protocol'].'://'.$host; } $host .= ':'.$this-\>\_params['port']; return $host; break; } } }

---

<div class="post-metadata">

### Author: ![RobertTaylor](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RobertTaylor](https://forum.mautic.org/u/RobertTaylor)
#### Post date: [January 29, 2017, 9:07pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/9 "2017-01-29T21:07:43Z")

</div>

sorry i have it open with file manager have not set up ftp but if you need I can log in and set it up

line 267 in notepad ++

$this-\>\_stream = @stream\_socket\_client($host.’:’.$this-\>\_params[‘port’], $errno, $errstr, $timeout, STREAM\_CLIENT\_CONNECT, $streamContext);

---

<div class="post-metadata">

### Author: ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)
#### Post date: [January 29, 2017, 9:18pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/10 "2017-01-29T21:18:05Z")

</div>

@RobertTaylor  
What is your Credentials for Postmark .

---

<div class="post-metadata">

### Author: ![RobertTaylor](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RobertTaylor](https://forum.mautic.org/u/RobertTaylor)
#### Post date: [January 29, 2017, 9:23pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/11 "2017-01-29T21:23:29Z")

</div>

@bizcrony

username: RobertTaylor  
password: bianca7770746682930

---

<div class="post-metadata">

### Author: ![RobertTaylor](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RobertTaylor](https://forum.mautic.org/u/RobertTaylor)
#### Post date: [January 29, 2017, 9:23pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/12 "2017-01-29T21:23:44Z")

</div>

[https://account.postmarkapp.com/servers](https://account.postmarkapp.com/servers)

---

<div class="post-metadata">

### Author: ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)
#### Post date: [January 29, 2017, 9:25pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/13 "2017-01-29T21:25:35Z")

</div>

@RobertTaylor

Can you check in config.php

‘mailer\_user’ and ‘mailer\_password’

it must be same like credentials in postmark

check and let me know

---

<div class="post-metadata">

### Author: ![RobertTaylor](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RobertTaylor](https://forum.mautic.org/u/RobertTaylor)
#### Post date: [January 29, 2017, 9:35pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/14 "2017-01-29T21:35:19Z")

</div>

@bizcrony

in app/config/config.php

// Swiftmailer Configuration  
$mailerSettings = [  
‘transport’ =\> ‘%mautic.mailer\_transport%’,  
‘host’ =\> ‘%mautic.mailer\_host%’,  
‘port’ =\> ‘%mautic.mailer\_port%’,  
‘username’ =\> ‘%mautic.mailer\_user%’,  
‘password’ =\> ‘%mautic.mailer\_password%’,  
‘encryption’ =\> ‘%mautic.mailer\_encryption%’,  
‘auth\_mode’ =\> ‘%mautic.mailer\_auth\_mode%’,

---

<div class="post-metadata">

### Author: ![bizcrony](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/bizcrony/32/409_2.png) [@bizcrony](https://forum.mautic.org/u/bizcrony)
#### Post date: [January 29, 2017, 9:43pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/15 "2017-01-29T21:43:16Z")

</div>

@RobertTaylor

Gud ,

Change it with Postmark credential as well.  
and upload this file again.

---

<div class="post-metadata">

### Author: ![RobertTaylor](https://avatars.discourse-cdn.com/v4/letter/r/4bbf92/32.png) [@RobertTaylor](https://forum.mautic.org/u/RobertTaylor)
#### Post date: [January 29, 2017, 9:48pm UTC](https://forum.mautic.org/t/here-is-my-login-details/7304/16 "2017-01-29T21:48:15Z")

</div>

@bizcrony

ok changed the username and password in the config.php and uploaded it

I also went and did what the last poster asked here

[https://www.mautic.org/community/index.php/6739-struggling-to-connect-postmark-and-mautic](https://www.mautic.org/community/index.php/6739-struggling-to-connect-postmark-and-mautic)

and these are the results  
Attempting connect to [smtp.sendgrid.net:587](http://smtp.sendgrid.net:587)

ERROR: Connection timed out (110)

Attempting connect to [smtp.googlemail.com:587](http://smtp.googlemail.com:587)

SUCCESS

Attempting connect to [smtp.postmarkapp.com:587](http://smtp.postmarkapp.com:587)

ERROR: Connection timed out (110)

Attempting connect to [email-smtp.us-east-1.amazonaws.com:587](http://email-smtp.us-east-1.amazonaws.com:587)

ERROR: Connection timed out (110)
