- Installed sfDoctrineGuardPlugin
- Installed sfForkedDoctrineApplyPlugin
- Configured app.yml and factories.yml
Whenever I register a new user with ../sfApply/apply I get that message:
- Code: Select all
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\PHP_workspace\symfony\lib\vendor\swiftmailer\classes\Swift\Transport\SimpleMailInvoker.php on line 50
Here are the valuable files (I think) related to my mail configuration:
App.yml:
- Code: Select all
all:
sfApplyPlugin:
from:
email: "armiu896@student.liu.se"
fullname: "Hercules Body Team"
Factories.yml:
- Code: Select all
# You can find more information about this file on the symfony website:
# http://www.symfony-project.org/reference/1_4/en/05-Factories
prod:
logger:
class: sfNoLogger
param:
level: err
loggers: ~
test:
storage:
class: sfSessionTestStorage
param:
session_path: %SF_TEST_CACHE_DIR%/sessions
response:
class: sfWebResponse
param:
send_http_headers: false
mailer:
param:
delivery_strategy: realtime
transport:
class: Swift_MailTransport
dev:
mailer:
param:
delivery_strategy: realtime
transport:
class: Swift_MailTransport
all:
routing:
class: sfPatternRouting
param:
generate_shortest_url: true
extra_parameters_as_query_string: true
view_cache_manager:
class: sfViewCacheManager
param:
cache_key_use_vary_headers: true
cache_key_use_host_name: true
mailer:
param:
delivery_strategy: realtime
transport:
class: Swift_MailTransport
Do I have to install a mail server like sendmail on my machine (win xp) ?
