BreezingForms - Use entered mail as sender address

With the Joomla! Extension BreezingForms you can create comprehensive and attractive forms.

But most of the time, you do not want the Joomla! configured mail address as the sender, but the one which the user has entered.


Customizing the send function in BreezingForms

In order to use the mail address entered by the user as the sender, the following file have to be adapted:


# change line 409 in
$mail->setSender( array( $from ? $from : $prev_from, $fromname ? $fromname : $_fromname ) );


A test message then shows the correct sender address.


Final Notes

Normally it´s not a good idea to modify core files from Joomla! or Extensions like here. With the next update all adjustments gets lost again and you have to implement them again.

For this reason, it´s useful to keep a documentation for each page and their changes, which is processed after each update.


These modifications were made and tested with BreezingForms 1.9.0 (build 931). your social media marketing partner

Business Hours

Monday - Friday: 14:00 - 18:00
Saturday: 10:00 - 18:00


Sign up to our Newsletter and receive useful informations.

JooWI Online

JooWI 3D BoxJooWI Online ERP is easy, high flexible and optimized for your company.
More informations on JooWI Online.

Order today for 30 days FREE version!


Medialekt eK
Bahnhofstr. 4a
DE-93342 Saal a.d. Donau

Phone: +49 9441 1750403

contact email icon

Medialekt eK (2024) - Your partner for:
Webdesign, Web Development, Webhosting, Server Maintenance, Mediadesign, Mediaprint, IT Hardware & Software, Internet & Networks, Repair & Maintenance, Data Recovery

Medialekt and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.