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?

Options for Result Mail

More
7 years 7 months ago #4200 by mkovach
Options for Result Mail was created by mkovach
Hello,

I just recently updated to the new Visforms version. In the "options for result mail" section, I was able to enter multiple email address in the "Mail To" form field in the older version of Visforms. After updating the form, whenever I try and add another email address to the "Mail To" field it gives me an error saying the field is not filled out correctly. I am putting a comma between address and also tried a semi-colon. The "Mail CC" field lets me add multiple email address though but I would rather the multiple address be in the "Mail To" section.

Is there some kind of solution for this? Please let me know if so.
Thank you!!

More
7 years 7 months ago #4203 by Administrator AV
Replied by Administrator AV on topic Options for Result Mail
Hi,

you are correct. Due to changes in the Joomla! mailer I think about the Joomla! 3.5 release, there were some problems with sending mails with Visforms, too. In order to make sending mails with Visforms more stable, I changed the format of the Mail From Address and the Mail To address input in the Visforms administration from "text" to "email". As a result both fields are validated for a valid email address (if they are not left empty) and therefore it is no longer possible to add more than one Mail To address. I don't want to go back to the previous state, because it was more error prone. You could try to change a Visforms core file, but your changes would be lost with every Visforms update.
It is the adminstrator/components/com_visforms/models/forms/visform.xml file.
Change type="email" to type="text" in
Code:
<field name="emailto" class="longfield inputbox" type="email" label="COM_VISFORMS_EMAIL_TO" description="COM_VISFORMS_EMAIL_TO_RESULT_DESC" size="50" maxlength="250"/>
(about line 108)
After that you should be able to enter and store more than on email address. As far as I can see in the code, sending the mails to all these addresses then, should work as in your previous version.

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
7 years 7 months ago #4207 by mkovach
Replied by mkovach on topic Options for Result Mail
Thank you Aicha!

More
7 years 6 months ago #4277 by mkovach
Replied by mkovach on topic Options for Result Mail
Aicha,

I have many email addresses for an email to go to. So I started to put the emails that need to receive the result mail in the CC section. It seems to only be limiting me to 3 email addresses in this section. Is there a way for me to put more than 3 email addresses there?

Thank you,
Mike

More
7 years 6 months ago #4278 by Administrator AV
Replied by Administrator AV on topic Options for Result Mail
Hi Mike,

the mailcc field is displayed with a size of 50 characters but it should allow you to type in up to 250 characters.

This is set by the field definition, same file as mentioned in the previous post
Code:
<field name="emailcc" class="longfield inputbox" type="text" label="COM_VISFORMS_EMAIL_CC" description="COM_VISFORMS_EMAIL_CC_DESC" size="50" maxlength="250"/>

I think this is more than 3 mail addresses. On my test installation, there is no such limit as 3 mail addresses and I can type in exactly up to 250 characters.

You could allow for more characters with a bigger "maxlength".

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
7 years 6 months ago #4283 by mkovach
Replied by mkovach on topic Options for Result Mail
That is extremely weird. All of my email addresses typed in took 173 characters. And it seems to be only sending to the third email... I am very sure of what I can do to have this work.

Would changing the type="email" to type="text" be my best bet? Then I can just put everything on one line again.

Thanks,

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum