Skip to content

sevenGroupFrance/sulu-hub-score-form-sender-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sevengroupfrance/sulu-hub-score-form-sender-bundle

1 - create sulu_hub_score_form_sender.yaml file in your config/packages/ folder.
2 - Then add this configuration to it:

sulu_hub_score_form_sender:
    base_configuration:
        id: '%env(HUBSCORE_USERNAME)%'
        pwd: '%env(HUBSCORE_PASSWORD)%'
        base_url: '%env(HUBSCORE_URL)%'

    login_url: /login_check

    payload_configuration:
        campagn_id: '%env(HUBSCORE_CAMPAGN)%'
        database_id: '%env(HUBSCORE_DB)%'

    send_mail_url: /v1/sends/mails

3 - download this bundle composer require sevengroupfrance/sulu-hub-score-form-sender-bundle

This bundle is for Sulu 2.4 and prior, as it uses swiftmailer to make this work. If you're using Sulu 2.5, prefer using Symfony mailer

1.1.0

You can now configure the fields you need, your campaign and database ID, for multiple forms.

1.1.1

You can now configure flashbag message (error and success only)

1.2.0

Bundle updated to use swiftmailer to watch mail send event instead of kernel event FormPostData.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages