php - [Symfony2][SwiftMailer] You have requested a non-existent parameter "sender_name" -


i install new bundle project in symfony2 , swiftmailer return error.

you have requested non-existent parameter "sender_name".

swiftmailer configuration swiftmailer: transport: %mailer_transport% host:      %mailer_host% encryption: %mailer_encryption% username:  %mailer_user% password:  %mailer_password% spool:     { type: memory } 

try add sender_name parameter in parameters.yml , in config.yml add

swiftmailer:     sender_name: %sender_name% 

Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -