Previous Thread
Next Thread
Print Thread
Hop To
Joined: Mar 2012
Posts: 10
T
stranger
stranger
T Offline
Joined: Mar 2012
Posts: 10
I set up my board and had two people register. It said that they would be sent a verification email, but they have not received anything. I also registered myself and I never got an email either. I checked my spam folder and there's nothing there. I also checked the box for "enable email verification" under the registration setting tab/basic options. Any help appreciated!

Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Are you receiving emails from your site outside the forums? If not or if unknown create page called email.php. In it paste this

PHP Code


<?php
$to = "someone@example.com";
$subject = "Test mail";
$message = "Hello! This is a test email message.";
$from = "someonelse@example.com";
$headers = "From:" . $from;
mail($to,$subject,$message,$headers);
echo "Mail Sent.";
?>



Change the "$to" adding your email address. Upload it to your web directory and go to www.yoursite.com/email.php. If successful you will see Mail sent and get the email.

If you don't get this, who's your host? Have access to mail error logs?

Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
I have the same problem. Email was working, but stopped working 24 hours or so back. I'm moved to DreamHost with SirDudes' help several weeks ago.

The only log I see is the mysql log, and it is over 24 hours old.

Trying the above script, I get "Mail Sent.", but nothing arrives.

All help is appreciated!

Edit: after some time, maybe 20 minutes, one email did come through. But still waiting on the one sent to gmail.
But... notifications from the forum are not getting through.

Last edited by Steve C; 04/08/2012 2:23 AM.
Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
As a followup:
I contacted DreamHost tech support, and they replied that they had just setup a system that blocked any outgoing email that showed a different host in the From: setting. I had been using a gmail address as the forum's "Board Email Address". This had worked fine when initially set up, and had worked for years on other sites, but DreamHost suddenly blocked it without warning anyone.

Their response also said the change had been "rolled back", but I still wasn't getting the email, so either that statement was incorrect, or their rolling back did not really take effect.

I realize what I was doing is a poor practice, but it had worked the past three years. I set up an email account within DreamHost and set that email to automatically forward everything to the gmail account, and all is back working.

However, it was a terrible mistake to move to DreamHost. I opted to use their shared server service, and have had site outage problems and database not available issues like crazy.

I chose DreamHost because another UBB Threads forum runs there, and that admin had good results. Only he is using a VPS or some level above what I started at.

Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
Why not set up a gapps email. Its free up to 10 addresses and you can set it to your domain. That should solve your issue of email address being different domain name.

You can find the free version here

http://www.google.com/apps/intl/en/group/index.html

If you switched to gapps now, all you need to do is set the mx records to google for that domain. Google will need to verify you own the domain by either uploading an html file or set a cname and it works. Check this out

http://www.likoma.com/using-google-apps-and-gmail-for-youyourdomaincom/

Joined: May 2006
Posts: 243
Likes: 1
Enthusiast
Enthusiast
Joined: May 2006
Posts: 243
Likes: 1
Appreciate the ref to Google Apps. But that's just (yet) another set of things to add to the pile. Unfortunately for me, the pile just gets more and more complex. So I am passing on that, since I now have a working email setup. Familiarity with something carries lots of weight with me.

Giving DreamHost some credit: Yesterday, they were suffering from a massive DDoS (Distributed Denial of Service) or "D-Dos" attack. They worked pretty hard applying/installing some changes, and all is running smoothly today.

Joined: Dec 2003
Posts: 6,628
Likes: 85
Joined: Dec 2003
Posts: 6,628
Likes: 85
I tend to agree. A lot of people here use a third party email server for their board. But I prefer to use a native email server for my board.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Excuse my ignorance blush

What is a 'native' email server?

Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
hmmm on reflection, I'm thinking that it means the email software on the server that UBB is on. Is that correct?

Joined: Dec 2003
Posts: 6,628
Likes: 85
Joined: Dec 2003
Posts: 6,628
Likes: 85
Correct!
I deal with a lot of government firewalls.
Cities,Counties,States

PTR records are one issues.
And using third party email such as gmail or yahoo just get blocked because they are considered non business related email.

Also it is just easy to goto one point such as cpanel and make changes to email accounts.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jan 2004
Posts: 2,474
Likes: 3
D
Pooh-Bah
Pooh-Bah
D Offline
Joined: Jan 2004
Posts: 2,474
Likes: 3
Just dug a little deeper and I can't believe I have been using this software as long as I have without knowing it uses phpmailer...

Yee Gods driv - pay attention man!!!!

Joined: Jun 2006
Posts: 16,366
Likes: 126
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,366
Likes: 126
I pretty much use phpmailer exclusively after having to figure it out for the ubb lol


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
New Admin Here
by SenecaFlyer - 12/02/2024 4:14 PM
Post Counts zeroed out
by Baldeagle - 11/03/2024 3:05 PM
Who's Online Now
1 members (Ruben), 1,658 guests, and 71 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)