html email format

Issues related to forms.
Post Reply
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

html email format

Post by petejos »

The following is what i received after people completing my webform even thought i have set the email format to html. Any helps are much appreciated. Thanks.

===================================================================
This is a multi-part message in MIME format.

--b1_058Vyd8ebCOeut4QqFbZhZNBo0ehw6u4Mv5SmcfHk
Content-Type: text/plain; charset=us-ascii

CAMPID-6988Camper DetailsName: peterDOB: 04 - FEB - 1945Age: 76Allergies and Medical Conditions: testTransport: NoTotal Fees $150Payment Method - EFTContact DetailsAddress: 20 Ashton Road, FERNTREE GULLY VIC 3156, 20 Ashton Rd, 20 Ashton RdSuburb: Ferntree GullyPostcode: 3156Contact Number: 0430788626Email: petejos@hotmail.comHow did you hear about camp: fdEmergency Contact DetailsName: Wei Chian (Peter) ChengContact Number: 0412345678Disclaimer Agreement and ConsentYesRemarks / Special Requirementsafdadf

--b1_058Vyd8ebCOeut4QqFbZhZNBo0ehw6u4Mv5SmcfHk
Content-Type: text/html; charset=us-ascii

CAMPID-6988Camper DetailsName: peterDOB: 04 - FEB - 1945Age: 76Allergies and Medical Conditions: testTransport: NoTotal Fees $150Payment Method - EFTContact DetailsAddress: 20 Ashton Road, FERNTREE GULLY VIC 3156, 20 Ashton Rd, 20 Ashton RdSuburb: Ferntree GullyPostcode: 3156Contact Number: 0430788626Email: petejos@hotmail.comHow did you hear about camp: fdEmergency Contact DetailsName: Wei Chian (Peter) ChengContact Number: 0412345678Disclaimer Agreement and ConsentYesRemarks / Special Requirementsafdadf


--b1_058Vyd8ebCOeut4QqFbZhZNBo0ehw6u4Mv5SmcfHk--
User avatar
BaconFries
 
 
Posts: 6190
Joined: Thu Aug 16, 2007 7:32 pm

Re: html email format

Post by BaconFries »

A form should be set to .php not .html What is the url to the page. Are you using the latest version of the software? Did you correctly publish all files?.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

The following is what I entered in the Form Processor Message.
This is my form : https://www.goec.com.au/camp2023.php
////////////////////

Hi $Camper1Name.

Thank you for registering the 2023 YOUTH AND YOUNG ADULT CAMP

$reference

You have submitted below information:

Camper Details
Name : $Camper1Name
DOB : $Camper1DOBDate - $Camper1DOBMonth - $Camper1DOBYear
Age : $Camper1Age
Fees : $Fee1
Transport: $transport
Allergies and Medical Conditions : $Camper1conditions


$TotalFees

Payment Method $payment

If you are paying via EFT, please quote your $reference

EFT Details
Account Name: GOEC Inc
BSB: 013225
Account Number: 480 178 595

Contact Details
Address: $ContactAddress
Suburb: $ContactSuburb
Postcode: $ContactPostcode
Contact Number: $ContactNumber
Email: $email
How did you hear about camp: $HearAboutCamp

Emergency Contact Details
Name: $EmergencyContactName
Contact Number: $EmergencyContactNumber

Disclaimer Agreement and Consent
$consent

Remarks
$Remarks

Please feel free to email office@goec.com.au with your reference number $reference if you have any questions.

Regards,
Camp 2023 Committee
GO Evangelical Church
http://www.goec.com.au/camp2023
User avatar
Pablo
 
Posts: 24085
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html email format

Post by Pablo »

Maybe there is an issue with your email application?
For example, in Outlook you can set it to ignore end of lines.

There is also an option to control this in form properties: Advanced -> Miscellaneous -> End of line. This should be set to CRLF
User avatar
BaconFries
 
 
Posts: 6190
Joined: Thu Aug 16, 2007 7:32 pm

Re: html email format

Post by BaconFries »

As already mentioned can you please say what version of the software you are using? From viewing the source of the page is showing that you are still using WWB15 which is no longer supported. For the suggestion by Pablo
"There is also an option form properties: Advanced -> Miscellaneous -> End of line" you will need to upgrade to WWB20 as it only became a "New" feature from WWB18.4. By upgrading you will be supporting Pablos work and continuing support in the forum.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

I have upgraded to WB 20 plus.

I have created a simple form to submit email using one of the Blocks as below.

https://goec.com.au/camp2026.php

However, i didn't receive anything after submission. Could you please assist. Thanks.
User avatar
Pablo
 
Posts: 24085
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html email format

Post by Pablo »

This is most likely be a configuration issue.

Please the "VERY IMPORTANT NOTE" in the FAQ and provide the requested information:
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=32967
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

Hi Pablo,

Are you able to provide me some tips in creating a form? Can you provide me a details guide please? THanks.
User avatar
Pablo
 
Posts: 24085
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html email format

Post by Pablo »

Did you read the FAQ?
Which information are you missing?

Note that the exact form configuration (mail engine) depend on the requirements of your webhost.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

Pablo,

The following is the reply from my web hosting provider


After checking and performing some troubleshooting, I found that the website was custom-coded. It would be best to have your web developer check the PHP code. I apologize for the inconvenience this has caused you.
This issue is unfortunately outside of my scope, as the website was custom-built using code.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

Another reply from the web hosting provider as below

It would be best to check this with your web developer, as the PHPMailer used in the website’s code appears to be outdated. Switching to an older PHP version removed the error 500, but it does not produce the output you need.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

error_log from the web hosting provider

22-Dec-2025 12:55:30 UTC] PHP Fatal error: Class 'PHPMailer' not found in /home/goecaumo/public_html/camp2026.php on line 22
[22-Dec-2025 12:56:00 UTC] PHP Warning: file_get_contents(): Filename cannot be empty in /home/goecaumo/public_html/camp2026.php on line 127
[22-Dec-2025 12:56:17 UTC] PHP Warning: file_get_contents(): Filename cannot be empty in /home/goecaumo/public_html/camp2026.php on line 127
[22-Dec-2025 12:57:56 UTC] PHP Warning: file_get_contents(): Filename cannot be empty in /home/goecaumo/public_html/camp2026.php on line 127
[22-Dec-2025 12:58:41 UTC] PHP Parse error: syntax error, unexpected '<' in /home/goecaumo/public_html/camp2026.php on line 8
22-Dec-2025 12:58:55 UTC] PHP Warning: file_get_contents(): Filename cannot be empty in /home/goecaumo/public_html/camp2026.php on line 127
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

according to web hosting provider, the current php version is 8.2
User avatar
BaconFries
 
 
Posts: 6190
Joined: Thu Aug 16, 2007 7:32 pm

Re: html email format

Post by BaconFries »

Although you have written that you have purchased WWB20 are you actually using it yet? the following url you provided still shows it was created with WWB15 https://goec.com.au/camp2026.php
I found that the website was custom-coded
The code that is generated in the form does not use custom-code the code that is seen was implemented by you.
It would be best to check this with your web developer, as the PHPMailer used in the website’s code appears to be outdated
That statement is incorrect as of WWB20.4 is uses
- Improved: Upgraded PHP Mailer to version 7.0.1. More details
WYSIWYG Web Builder 20.4 update

Image
according to web hosting provider, the current php version is 8.2
The php in the software also uses the same
PHP version compatibility
User avatar
Pablo
 
Posts: 24085
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html email format

Post by Pablo »

The errors indicates that files either are missing, or the web server does not have a recent version of PHP.

Did you publish all files?
Did you check the PHP version?

Also, this error seems to indicate that something is misconfigured.
PHP Warning: file_get_contents(): Filename cannot be empty in /home/goecaumo/public_html/camp2026.php on line 127
But there to be able to help you with this I need to know the exact configuration.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

I open my projected created with WB20 which was created under WB15.I have uploaded all files. Not sure why it is still showing the older version as Baconfries said. Are you able to assist and advise why this is happening?
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

BaconFries wrote: Mon Dec 22, 2025 1:52 pm Although you have written that you have purchased WWB20 are you actually using it yet? the following url you provided still shows it was created with WWB15 https://goec.com.au/camp2026.php
I found that the website was custom-coded
The code that is generated in the form does not use custom-code the code that is seen was implemented by you.
It would be best to check this with your web developer, as the PHPMailer used in the website’s code appears to be outdated
That statement is incorrect as of WWB20.4 is uses
- Improved: Upgraded PHP Mailer to version 7.0.1. More details
WYSIWYG Web Builder 20.4 update

Image
according to web hosting provider, the current php version is 8.2
The php in the software also uses the same
PHP version compatibility
Should I delete all files from my web server and upload again?
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

In case you have doubt whether I have WB 20. My order ***removed***.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

Btw I open the project I created with WB15 with WB20 then upload all files. Is it just upload? Or do I need to do sth else before upload to server? Do I need to delete all files from server before upload? Please advise. Thank you. I need an urgent help.
User avatar
Pablo
 
Posts: 24085
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html email format

Post by Pablo »

After one the project in the new version, you will have to republish all files.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

https://goec.com.au/testform/index.php

I created a brand new test form as above. still having the same issue. could you please check.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

Pablo wrote: Mon Dec 22, 2025 8:45 pm After one the project in the new version, you will have to republish all files.
Yes, i republish all the files.
User avatar
BaconFries
 
 
Posts: 6190
Joined: Thu Aug 16, 2007 7:32 pm

Re: html email format

Post by BaconFries »

I would personally remove all previously published files from the server (WWB15) and then republish all new files created in WWB20.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

BaconFries wrote: Mon Dec 22, 2025 10:10 pm I would personally remove all previously published files from the server (WWB15) and then republish all new files created in WWB20.
https://goec.com.au/testform/index.php

This a freshly created form. Are you able to help me to check why it is still not working
User avatar
Pablo
 
Posts: 24085
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html email format

Post by Pablo »

Are you sure your configuration is correct?
Maybe you will need to use SMTP?

Note that there is not much I can do to help you without knowing your exact configuration.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

Pablo wrote: Tue Dec 23, 2025 7:14 am Are you sure your configuration is correct?
Maybe you will need to use SMTP?

Note that there is not much I can do to help you without knowing your exact configuration.
Here is my project. could you please check. Thanks.
the SMTP setting is correct. I have confirmed with the mail provider.

https://www.goec.com.au/upload/testform2.wbs
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

I checked with my web hosting provider, they said my webform has custom code? I am not sure why I have custom code when I didn't use anything special code at all. I am just enable the form from my layout grid and enter all the necessary details. Nothing special.

https://www.goec.com.au/upload/testform2.wbs

Please help me to check thanks.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

reply from my web hosting company as below:

Since the website where the contact form is connected is custom-coded, you could have your web developer check if the PHP version is up to date.
User avatar
Pablo
 
Posts: 24085
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html email format

Post by Pablo »

Your demo project, does not seem to be complete. The success and error pages are missing, so I cannot see if you have set this up correct.
Did you include ##error## code in your error page? See the FAQ?

Also, I suggest to start with a simple form using default mail. No HTML formatting. Keep it impossible, also not other scripts.
Since the website where the contact form is connected is custom-coded, you could have your web developer check if the PHP version is up to date.
The form code generated by WWB is used by many other users, so you do not have to worry that something is wrong otherwise it would have already been fixed.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

Pablo wrote: Tue Dec 23, 2025 8:04 am Your demo project, does not seem to be complete. The success and error pages are missing, so I cannot see if you have set this up correct.
Did you include ##error## code in your error page? See the FAQ?

Also, I suggest to start with a simple form using default mail. No HTML formatting. Keep it impossible, also not other scripts.
Since the website where the contact form is connected is custom-coded, you could have your web developer check if the PHP version is up to date.
The form code generated by WWB is used by many other users, so you do not have to worry that something is wrong otherwise it would have already been fixed.
Please check again.
https://www.goec.com.au/upload/testform2.wbs
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

petejos wrote: Tue Dec 23, 2025 9:07 am
Pablo wrote: Tue Dec 23, 2025 8:04 am Your demo project, does not seem to be complete. The success and error pages are missing, so I cannot see if you have set this up correct.
Did you include ##error## code in your error page? See the FAQ?

Also, I suggest to start with a simple form using default mail. No HTML formatting. Keep it impossible, also not other scripts.
Since the website where the contact form is connected is custom-coded, you could have your web developer check if the PHP version is up to date.
The form code generated by WWB is used by many other users, so you do not have to worry that something is wrong otherwise it would have already been fixed.
Please check again.
https://www.goec.com.au/upload/testform2.wbs
the autoresponder doesn't seems to work. it landed on the success page, but nothing happen. no email being sent.
User avatar
Pablo
 
Posts: 24085
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html email format

Post by Pablo »

Maybe you are using a 'from' address which is not allowed by your web host?
See also the FAQ.
User avatar
BaconFries
 
 
Posts: 6190
Joined: Thu Aug 16, 2007 7:32 pm

Re: html email format

Post by BaconFries »

the autoresponder doesn't seems to work. it landed on the success page, but nothing happen. no email being sent,
See the following: Form FAQ reading from
"The auto responder option does not send the message to email entered in the form"
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

BaconFries wrote: Tue Dec 23, 2025 9:53 am
the autoresponder doesn't seems to work. it landed on the success page, but nothing happen. no email being sent,
See the following: Form FAQ reading from
"The auto responder option does not send the message to email entered in the form"
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

BaconFries wrote: Tue Dec 23, 2025 9:53 am
the autoresponder doesn't seems to work. it landed on the success page, but nothing happen. no email being sent,
See the following: Form FAQ reading from
"The auto responder option does not send the message to email entered in the form"
I checked and nothing wrong with it. Can you check my project and let me know what have I done wrong? Thanks
User avatar
Pablo
 
Posts: 24085
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html email format

Post by Pablo »

There is nothing to check in your project. Your web host determines which settings you will need to use.

Does the standard form now work? Then you will at least know your mailer settings are correct.

Please carefully read the FAQ
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

Pablo wrote: Tue Dec 23, 2025 10:42 am There is nothing to check in your project. Your web host determines which settings you will need to use.

Does the standard form now work? Then you will at least know your mailer settings are correct.

Please carefully read the FAQ
The standard form didn't give me error but didn't send me any mail after completing the form.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

Pablo wrote: Tue Dec 23, 2025 10:42 am There is nothing to check in your project. Your web host determines which settings you will need to use.

Does the standard form now work? Then you will at least know your mailer settings are correct.

Please carefully read the FAQ
https://goec.com.au/testform/index.php
User avatar
Pablo
 
Posts: 24085
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html email format

Post by Pablo »

Did you try to change the 'from' address as documented in the FAQ?

Please note that only your web host can provide the exact reason why the email is not being sent. They will often initially blame the script, but if you continue to follow up, they will usually explain why the email is being blocked or not sent by their server.

Once you receive their feedback, you can update your form settings accordingly.
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

Pablo wrote: Tue Dec 23, 2025 11:06 am Did you try to change the 'from' address as documented in the FAQ?

Please note that only your web host can provide the exact reason why the email is not being sent. They will often initially blame the script, but if you continue to follow up, they will usually explain why the email is being blocked or not sent by their server.

Once you receive their feedback, you can update your form settings accordingly.
I am sorry. I am not sure what should I change. Could you please suggest? Thanks.
User avatar
Pablo
 
Posts: 24085
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: html email format

Post by Pablo »

My suggestion is to change the 'from' address as documented in the FAQ.

Item 5 of "Emails are not arriving in my inbox..."
petejos
 
 
Posts: 178
Joined: Wed Aug 22, 2012 11:43 am

Re: html email format

Post by petejos »

Pablo wrote: Wed Dec 24, 2025 7:21 am My suggestion is to change the 'from' address as documented in the FAQ.

Item 5 of "Emails are not arriving in my inbox..."
It is working now. however, I can only use plain text. if i use rich text of html, it failed. what should i do?
Post Reply