nuxia / mail-storage-bundle
Bundle to store your sent mail
Installs: 6 351
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4
- doctrine/doctrine-bundle: ~1.3
- symfony/framework-bundle: ~2.3
- symfony/swiftmailer-bundle: ~2.3
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-12-21 17:41:40 UTC
README
Bundle to store your sent mail
Installation:
Step 1 : composer
composer require nuxia/mail-storage-bundle: "dev-master"
Step 2 : MailEntry entity
# MailEntry.orm.yml MyApp\Entity\MailEntry: type: "entity" table: "your__mail_storage_table" id: id: type: "string" length: "32" generator: strategy: "NONE" indexes: mle_id_i: columns: "id" mle_object_i: columns: "object" mle_object_id_i: columns: "object_id" mle_reference_i: columns: "reference" mle_language_i: columns: "language" mle_subject_i: columns: "subject" mle_status_i: columns: "status" mle_created_att_i: columns: "created_at" mle_sent_at_i: columns: "sent_at"
<?php //MyApp\Entity\MailEntry.php class MailEntry extends \Nuxia\MailStorageBundle\Entity\AbstractMailEntry { //Some application logic }
Override the container parameter nuxia.mail_storage.mail_entry.class using à compiler pass or a service file.
# myapp/service.yml parameters: nuxia.mail_storage.mail_entry.class: MyApp\Entity\MailEntry