Host recently changed universal SMTP settings for webmail, need help w/contact form

Issues related to forms.
Post Reply
User avatar
etcbbu
 
 
Posts: 466
Joined: Mon Apr 23, 2007 3:00 pm

Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by etcbbu »

Currently troubleshooting this with my web-host, and need help on WB's end, please; because right now, if you visit my https://travisjconsulting.com/buildmysi ... teBookmark , attempt to fill it out and submit, you hit the "Error" page.

Here's the e-mail my host sent-out, making me aware of the new host settings (I'm going to mask actual log in data) :

We’re excited to let you know that **web-host** is making significant upgrades to our infrastructure to improve performance, security, and reliability for all clients.
During this process, we noticed that your website is not currently using our built-in SMTP service for sending emails. By configuring your site to use our SMTP service, you can:
Improve email deliverability
Reduce the chance of messages landing in spam
Ensure consistent, authenticated outbound mail
Your SMTP credentials are as follows:
________________________________________
SMTP Server Address: **a hostname is here**
Port: 25 or 587 for TLS
Username: **a username is here**
Password: **a password is here**


but right now, if you visit my https://travisjconsulting.com/buildmysi ... teBookmark , attempt to fill it out and submit, you hit the "Error" page.

Can someone please help me troubleshoot this? Need Contact queries to reach me again, please. I have tried "tls" and "none" on the "SMTP encryption field" setting in Form Properties >> Advanced >> Mail Engine , and it doesn't work. I have tried a couple of other permutation/combinations using port 587 instead of 25, and that's not working either.

I am using WB version 2.3.1 , with the October 8, 2025 hotfix installed.

—etcbbu
https://travisjconsulting.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://travisjconsulting.com
User avatar
BaconFries
 
 
Posts: 6111
Joined: Thu Aug 16, 2007 7:32 pm

Re: Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by BaconFries »

A very quick look at the source of the page you have no input fields but you do have three textareas you should only use these for adding multiple lines of text ie the user inputs a large amounts of text for the likes of emails it should just be a single input field.
See the forwarded urls for more info
Creating a Form
Forms FAQ
*** VERY IMPORTANT NOTE ***
How can I make sure the 'from address' in the email message is the entered email in the form
How do I display the error message on the error page?
User avatar
Pablo
 
Posts: 23879
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by Pablo »

Are you sure your SMTP settings are correct?
Only your web host can give you the right settings.

Did you add an ##error## to the error page?
What is the error?
User avatar
etcbbu
 
 
Posts: 466
Joined: Mon Apr 23, 2007 3:00 pm

Re: Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by etcbbu »

Working on it now, so 2 questions:

1) so use "Editbox" instead of "TextArea" on the first 2 fields? About to publish now with two EditBoxes, recplacing those first two TextAreas.

2) Don't know what you mean by "use forwarded"? Is there a particular topic in either the

- help page you sent: viewtopic.php?f=10&t=32967
- other help page you sent: https://www.wysiwygwebbuilder.com/forms.html

Is it really such a problem that my "success" page and "error" page are both .php instead of .html ? There's nothing much to them:
https://travisjconsulting.com/buildmysitesuccess.php
https://travisjconsulting.com/buildmysiteerror.php

I'm reading through them now (I have completely read the first one, and am making my way down the second one) after I'm about to publish. What area, specifically, do you recommend I troubleshoot next, because I'm about to publish the "Editbox" thing?
https://travisjconsulting.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://travisjconsulting.com
User avatar
BaconFries
 
 
Posts: 6111
Joined: Thu Aug 16, 2007 7:32 pm

Re: Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by BaconFries »

1) so use "Editbox" instead of "TextArea" on the first 2 fields? About to publish now with two EditBoxes, recplacing those first two TextAreas.
2) Don't know what you mean by "use forwarded"?
Yes
It is a simple "Typo" it is meant to read following!
User avatar
etcbbu
 
 
Posts: 466
Joined: Mon Apr 23, 2007 3:00 pm

Re: Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by etcbbu »

No worries at all, mate; I thought that might be what you meant! I just wanted to get real specific on this, because knowing me, I can definitely leave-off something small / important / specific important. Really appreciate your work and WB as always, friend.

And I'm super excite to get out of the stone-age of internal php mail functions of how I have had it configured on this particular https://travisjconsulting.com/buildmysite.php .

—etcbbu
https://travisjconsulting.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://travisjconsulting.com
User avatar
BaconFries
 
 
Posts: 6111
Joined: Thu Aug 16, 2007 7:32 pm

Re: Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by BaconFries »

OK a quick response before I turn in looking at the source of the page again are you sure you have configured the form correctly? Please see the Forms FAQ reading from..
How can I make sure the 'from address' in the email message is the entered email in the form
viewtopic.php?t=32967
There is really no need to have the success/error have the extension set to
php as it isn't calling any server sided scripts so .html will suffice.
User avatar
etcbbu
 
 
Posts: 466
Joined: Mon Apr 23, 2007 3:00 pm

Re: Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by etcbbu »

Thanks for taking another look before bed. I have changed the success/error pages to being HTML, removed the others (previous .php ones) from my web-space, and I've reached-out to my web-host about the specific "From email", "From name", "Reply to" ; as well as the

Code: Select all

Note:
The 'From email' field will set the 'from' address of email sent messages to the specified email address. If you leave the field empty then either the 'email' input will be used (if it exists) or the 'to' address.
The 'From name' allows you to set the name of the sender. It is also possible to use a PHP variable. For example, S_POST[‘name’] where ‘name’ is the name of the input field.

'Reply to' can be used to specify an alternative reply address. 'Reply To' can be a fixed email address, in which case you must use quotes:

'yourname@email.com'
or a PHP variable:
$_POST['email']

6. If changing the email in the form properties address does not work then rename the 'email' editbox to 'e-mail'. This will prevent the script from using the specified email address as the 'from' address.
portions. So I'll see what they say. Thanks for talking me through it up to now.

—etcbbu
https://travisjconsulting.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://travisjconsulting.com
User avatar
BaconFries
 
 
Posts: 6111
Joined: Thu Aug 16, 2007 7:32 pm

Re: Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by BaconFries »

Have you managed to get this setup? Is your host Liberation? (just curious) How are you trying to configure ie to use outlook/gmail as each will have its own setup.
User avatar
etcbbu
 
 
Posts: 466
Joined: Mon Apr 23, 2007 3:00 pm

Re: Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by etcbbu »

@BaconFries — Thanks for the follow-up. Apparently, overnight, my web-host made some edits to my buildmysite.php code ; because I was awakened to multiple successfully contact form submissions reaching my mailbox! Appreciate your helping me think it through so far.

Now.

I need to make sure I execute a few more steps correctly within my .WBS project-file Form >> Properties because, I can't have them just making a manual edit all the time, right? So, to be specific, here's what they recommended I do:

Code: Select all

Hi Travis,

Please try to send emails using your publishing software. However, I have added following fields in buildmysite.php

$mail->From = 'no-reply@travisjconsulting.com';
$mail->FromName = 'Travis J Consulting Website';
$mail->AddReplyTo($mailfrom); // So replies still go to the user

Please set FROM email address and From Name in your publishing software

Thanking You!
I had asked him what, exactly, I need to change to make it permanent within my WB desktop-publishing software.

—etcbbu
https://travisjconsulting.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://travisjconsulting.com
User avatar
Pablo
 
Posts: 23879
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by Pablo »

You can change these values in the 'more' button in the form's properties.

See also the notes / tips about the options in the help and FAQ:
viewtopic.php?t=32967
User avatar
etcbbu
 
 
Posts: 466
Joined: Mon Apr 23, 2007 3:00 pm

Re: Host recently changed universal SMTP settings for webmail, need help w/contact form

Post by etcbbu »

@Pablo and @Baconfries

Thank y'all so far, I'm almost there. But let me ask — what do y'all recommend I put here
Image

in the "reply to" field? As I am getting ready to publish right now and try it out.

—Travis J, MBA
https://travisjconsulting.com

Travis J Consulting, LLC
⚫️Website Design/Development/Maintenance
⚫️Web-Marketing/Social Media
⚫️SEO/Search Engine Optimization

https://travisjconsulting.com
Post Reply