Advertisement
Guest User

Untitled

a guest
Sep 16th, 2018
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.96 KB | None | 0 0
  1. Why I cannot send email with siwapp invoicing software?
  2. Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:25 (Connection refused) in /home/olepress/public_html/my/lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/StreamBuffer.php on line 233
  3.  
  4. Warning: Cannot modify header information - headers already sent by (output started at /home/olepress/public_html/my/lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/StreamBuffer.php:233) in /home/olepress/public_html/my/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 336
  5.  
  6. Warning: Cannot modify header information - headers already sent by (output started at /home/olepress/public_html/my/lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/StreamBuffer.php:233) in /home/olepress/public_html/my/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 357
  7.  
  8. Warning: Cannot modify header information - headers already sent by (output started at /home/olepress/public_html/my/lib/vendor/symfony/lib/vendor/swiftmailer/classes/Swift/Transport/StreamBuffer.php:233) in /home/olepress/public_html/my/lib/vendor/symfony/lib/response/sfWebResponse.class.php on line 357
  9.  
  10. test:
  11. storage:
  12. class: sfSessionTestStorage
  13. param:
  14. session_path: %SF_TEST_CACHE_DIR%/sessions
  15.  
  16. response:
  17. class: sfWebResponse
  18. param:
  19. send_http_headers: false
  20.  
  21. mailer:
  22. param:
  23. delivery_strategy: none
  24.  
  25. all:
  26. routing:
  27. class: sfPatternRouting
  28. param:
  29. generate_shortest_url: true
  30. extra_parameters_as_query_string: true
  31. user:
  32. class: SiwappUser
  33. param:
  34. timeout: 1800
  35. logging: %SF_LOGGING_ENABLED%
  36. use_flash: true
  37. default_culture: %SF_DEFAULT_CULTURE%
  38.  
  39. #all:
  40. # controller:
  41. # class: sfFrontWebController
  42. #
  43. # request:
  44. # class: sfWebRequest
  45. # param:
  46. # logging: %SF_LOGGING_ENABLED%
  47. # path_info_array: SERVER
  48. # path_info_key: PATH_INFO
  49. # relative_url_root: ~
  50. # formats:
  51. # txt: text/plain
  52. # js: [application/javascript, application/x-javascript, text/javascript]
  53. # css: text/css
  54. # json: [application/json, application/x-json]
  55. # xml: [text/xml, application/xml, application/x-xml]
  56. # rdf: application/rdf+xml
  57. # atom: application/atom+xml
  58. #
  59. # response:
  60. # class: sfWebResponse
  61. # param:
  62. # logging: %SF_LOGGING_ENABLED%
  63. # charset: %SF_CHARSET%
  64. # send_http_headers: true
  65. #
  66. # user:
  67. # class: myUser
  68. # param:
  69. # timeout: 1800
  70. # logging: %SF_LOGGING_ENABLED%
  71. # use_flash: true
  72. # default_culture: %SF_DEFAULT_CULTURE%
  73. #
  74. # storage:
  75. # class: sfSessionStorage
  76. # param:
  77. # session_name: symfony
  78. #
  79. # view_cache:
  80. # class: sfFileCache
  81. # param:
  82. # automatic_cleaning_factor: 0
  83. # cache_dir: %SF_TEMPLATE_CACHE_DIR%
  84. # lifetime: 86400
  85. # prefix: %SF_APP_DIR%/template
  86. #
  87. # i18n:
  88. # class: sfI18N
  89. # param:
  90. # source: XLIFF
  91. # debug: false
  92. # untranslated_prefix: "[T]"
  93. # untranslated_suffix: "[/T]"
  94. # cache:
  95. # class: sfFileCache
  96. # param:
  97. # automatic_cleaning_factor: 0
  98. # cache_dir: %SF_I18N_CACHE_DIR%
  99. # lifetime: 31556926
  100. # prefix: %SF_APP_DIR%/i18n
  101. #
  102. # routing:
  103. # class: sfPatternRouting
  104. # param:
  105. # load_configuration: true
  106. # suffix: ''
  107. # default_module: default
  108. # default_action: index
  109. # debug: %SF_DEBUG%
  110. # logging: %SF_LOGGING_ENABLED%
  111. # generate_shortest_url: false
  112. # extra_parameters_as_query_string: false
  113. # cache:
  114. # class: sfFileCache
  115. # param:
  116. # automatic_cleaning_factor: 0
  117. # cache_dir: %SF_CONFIG_CACHE_DIR%/routing
  118. # lifetime: 31556926
  119. # prefix: %SF_APP_DIR%/routing
  120. #
  121. # logger:
  122. # class: sfAggregateLogger
  123. # param:
  124. # level: debug
  125. # loggers:
  126. # sf_web_debug:
  127. # class: sfWebDebugLogger
  128. # param:
  129. # level: debug
  130. # condition: %SF_WEB_DEBUG%
  131. # xdebug_logging: true
  132. # web_debug_class: sfWebDebug
  133. # sf_file_debug:
  134. # class: sfFileLogger
  135. # param:
  136. # level: debug
  137. # file: %SF_LOG_DIR%/%SF_APP%_%SF_ENVIRONMENT%.log
  138.  
  139. prod:
  140. ...
  141. mailer:
  142. param:
  143. delivery_strategy: realtime
  144. transport:
  145. param:
  146. host: smtp.gmail.com
  147. port: 465
  148. encryption: ssl
  149. username: your_gmail_username@gmail.com
  150. password: your_gmail_password
  151.  
  152. prod:
  153. ...
  154. mailer:
  155. param:
  156. delivery_strategy: realtime
  157. transport:
  158. class: Swift_MailTransport
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement