Custom Forms

Custom forms made easy

Back to Custom Forms Support

cryonos
cryonos

Hello, I wanted to configure the Reply-To header when sending the notification but I can't find how with the abweb.forms.beforeSendNotification can you help me? Thank you

Last updated

abwebdevelopers
abwebdevelopers

Hi cryonos,

Thanks for using our plugin. I actually overlooked the possibility of someone wanting to modify the $message instance :o

If you upgrade to 1.0.6 you will have access to 2 new Events just for what you're after where you can modify the $message instance (add a bcc, bc, to, reply to, etc):

Event::listen('abweb.forms.onSendNotification', function (CustomForm $customForm, &$message, $to) {
    $message->replyTo('noreply@domain.com');
});
// and
Event::listen('abweb.forms.onSendAutoReply', function (CustomForm $customForm, &$message, $to) {
    $message->bcc('mwahahaha@domain.com');
});

If you find anything else or have any suggestions for our plugins, please don't hesitate to let us know.

cryonos
cryonos

I was to make a PR but you were too fast hehe

Thank you very much

fredrickbishop1491140
fredrickbishop1491140

Using two new events in version 1.0.6 geometry dash meltdown to customize notification parameters is a great way to optimize the plugin.

beatrizcharles18191311
beatrizcharles18191311

Funk out loud in Friday Night Funkin'! Engage in epic rhythm battles, take down rivals, and win Girlfriend’s love in this addictive game.

1-5 of 5