Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

Senders name in the email

More
9 years 3 weeks ago #2177 by raunhar
Senders name in the email was created by raunhar
I am trying this form for the first time. I was able to send the form from the front end. But the mail that was received by the administrator had the following headers:
Name: It was displaying the administrators name not the senders name

How to show the senders name

More
9 years 3 weeks ago #2179 by Administrator AV
Replied by Administrator AV on topic Senders name in the email
Hi,

mails are quite a complex topic.
Please check the documentation to learn, which options are available and how to set up the mails.
www.vi-solutions.de/en/documentations/vi...e-mail-configuration

If the mail uses the sender mail address as mail from address, the email is often classified as spam. Therefore the sender email address is used as reply to and not as mail from.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
9 years 2 weeks ago #2188 by Thinamani
Replied by Thinamani on topic Senders name in the email
Hi Raunhar,

I have a few forms created and all of them use mail whereby once the user hits "Submit" in the front end, the form is sent to the Administrator with from address being a dedicated service address and a different email gets sent to the user automatically with the from address being the same dedicated service address as well.

Is this something that you are looking at?

More
8 years 9 months ago #2462 by sasa_zagreb2
Replied by sasa_zagreb2 on topic Senders name in the email
Hi,
love the extension! My boss insist to have sender email in "from" and not only in "reply-to" section despite spam issue.
Please, is there any way I could edit some file within extension to make that possible?!
Regards,
Sasha

More
8 years 9 months ago #2463 by Administrator AV
Replied by Administrator AV on topic Senders name in the email
Hi,

the information you need are:
The mails are created in the file
Code:
components/com_visforms/models/visforms.php
by
Code:
private function sendResultMail($visform)
the email address submitted by the form is in the variable
Code:
$emailSender
the mail from can be set with
Code:
$mail->setSender($mailSender);
but you have to adapt the whole function and make sure that it works as expected.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).
The following user(s) said Thank You: sasa_zagreb2

More
8 years 9 months ago #2464 by sasa_zagreb2
Replied by sasa_zagreb2 on topic Senders name in the email
Thanks Aicha!
It worked like a charm, but after I've corrected misspelled command "$mail->setSender($mailSender);" to "$mail->setSender($emailSender);".
I think that many users will be happy with this solution since it is a common request for your product.
Maybe you could include it as a standard part of product and maybe make option for administrator.
Best regards,
Sasha

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum