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?

Emails breaking due to line becoming too long

More
9 years 7 months ago #1522 by Administrator AV
Replied by Administrator AV on topic Emails breaking due to line becoming too long
Hi Josh,

I think there is a lot of information and discussion about email encryption, safety etc. on the internet.

I actually think, that for a contact form non ecrypted mails are ok.
Visforms sends non encrypted mails and there is not option to change this.

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 7 months ago #1527 by Josh
I followed up with my web host about this and got the following response:

I have checked on my end and I am afraid that even disabling the SpamExperts - the issue will not be resolved. The error returned:

Code:
SMTP error from remote mail server after end of data: host outbound.mailspamprotection.com [184.154.208.34]: 550 Maximum line length exceeded (see RFC 5322 2.1.1).

Is set as part of regulation from RFC, A Request for Comments which is a formal document from the Internet Engineering Task Force ( IETF ): tools.ietf.org/html/rfc5322

What I can recommend is to either consider using a different form or to contact the developers one more time.


Supposedly it's a RFC requirement ( Request for Comments ), hence I don't seem to have any way to make Visforms work due to it all being on a single line. Visforms works great for small forms, but due to this issue I'm finding it impossible to work with moderately lengthy forms (forms greater than 550 characters). I'm not trying to discourage you from development of Visforms, I am however trying to bring up the importance of this issue. Not just for me, but anyone else who uses Visforms.

More
9 years 7 months ago #1529 by Administrator AV
Replied by Administrator AV on topic Emails breaking due to line becoming too long
Hi Josh,

first of all I want to thank you for your patience and your help!
After digging really very deep in the documentations and the code I'm quite confident, that I can provide a solution, now.

Basically you have to change a tiny bit of code to fix it.
Please open the file components\com_visforms\models\visforms.php
find the function sendReceiptMail($visform)
which starts approximatly at line 628
Almost at the end of this function (about line 729 ff) you find the following code
Code:
$mail->setBody( $mailBody ); $mail->IsHTML (true);

Replace it with
Code:
$mail->IsHTML (true); $mail->Encoding = 'base64'; $mail->setBody( $mailBody );

Some lines later you'll find the function sendResultMail($visform)
In this function you will find the same code as above. Please replace it there too.

Could you please test, if this solves the problem?
If it does, I would release a bugfix Version of Visforms very soon.

If you prefer to I can send you the changed file for Visforms 3.4.2 via mail.

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: Josh

More
9 years 7 months ago #1531 by Josh
A huge thanks for looking into this more and finding a solution! :cheer: I'm please to announce that it works perfectly now. Be sure to add this to the core. You are my Joomla hero of the day. :)

I took a lot of heat from this problem, but didn't want to throw my hands in the air and give up. Other Joomla form extensions had the same issue. I'm glad that I could be of help with figuring this out and really appreciate your continued work with Visforms. Well done.
The following user(s) said Thank You: Administrator AV

More
9 years 7 months ago #1532 by Administrator AV
Replied by Administrator AV on topic Emails breaking due to line becoming too long
Hi Josh,

well that is great news!
You really helped to improve Visforms and did a great service to all who use Visforms.
Thanks a lot again.

I will release Visforms 3.4.3 today or tomorrow.

Kind Regards and enjoy using Visforms B)
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 :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum