Thanks, Rex. Although I'm on an apache/Linux server. So hmmmm.
You mentioned getting it to work... which real email provider you get it to function with? And, for example, does this hack only work accounts that use the "my outgoing server requires authentication" or does it only work with those accounts that specifically do not require that feature? Ok, I had someone set up a basic SMTP account with no restrictions as a test. Getting this error now: Fatal error: Call to undefined function: errormessage() in /home/sites/www/zaon.org/includes/mail.php on line 202 Which points to a different, yet similar line as before, in this case: return errorMessage("Authorization to the SMTP server failed"); Any clues on what's so fussy here? |
When I run it i get the error Parse error: parse error, unexpected '@', expecting ',' or ';' in /home/star/public_html/includes/mail.php on line 96
What could be wrong? |
Quote:
Code:
var $smtpUser = "user@domain.com"; |
yeah I noticed that after, I now get the error Warning: fsockopen(): unable to connect to mail.domain.com:25 in /includes/mail.php on line 183
Fatal error: Call to undefined function: errormessage() in /home/star/public_html/includes/mail.php on line 248 |
Quote:
Code:
var $smtpHost = "mail.domain.com"; |
It is already that way.
|
Quote:
|
yeah positive.
SMTP: localhost sendmail_from: None sendmail_path: /usr/sbin/sendmail -t -i Is that normal for 3.0.7? |
Anyone?
|
Quote:
So I've got a Linux box running this message board and it's email functions are rock solid. (I have a Windows and a Linux server hosted by Burst.) The only thing I can say to you is make sure that your mail functions point to: 127.0.0.1 instead of localhost (in Linux make sure that's defined it should be, a simple ping to that IP would tell you). Then all you need is to make sure that the SMTP account sending the emails is a real account on a real domain on the server. You can get some good feedback using the diagnostic email in the admin panel. It's under "Import & Maintenance" down at the bottom of the panel. Click "Diagnostics" then send email. You'll get some useful output. I'll watch for your replies so let me know. Quote:
SMTP: 127.0.0.1 sendmail_from: realuser@realdomainonthisserver.com sendmail_path: // This looks okay. Are you on Linux/Windows ehem Winblows? Let me know... I mentioned earlier I'm running this on Windows and Linux. The Linux is so bulletproof I don't even check it. The windows I have to have 9 secret service agents watching around the clock. |
Linux, so I need to change the smtp to 127..0.0.1?
|
Quote:
If I were you I'd open the CLI and ping 127.0.0.1 and ping localhost make sure both respond. If only 127.0.0.1 does then there you go. Anyway, yeah change it to 127.0.0.1 (this is called your loopback interface). Give that a try. If that does not work then I'll ask more questions. Now you do have public domains on this box that are able to use SMTP mail right? In other words you know for a fact that sendmail or whatever you are using for SMTP/POP is working correctly. Right? |
Do you have aim msn we coudl talk on? This is a bit too much for moi!
|
Quote:
Once you have contacted me I'll be deleting my address so do it quickly. |
|
Quote:
In short, "Real Email" in my book refers to very professional mail such as yahoo, gmail, and the like. I really prefer outbound vbulletin mail to come from gmail or perhaps yahoo. But have kinda given up because of the SSH requirement for gmail since apparently this vbulletin beta smtp module doesn't support it? Hmm... |
Quote:
|
Quote:
Also, the other direction is the hardest part.. keeping up with all the spam filtering updates, etc. |
Quote:
|
I've tried everything on this thread and nothing works.
My mail settings: var $smtpHost = "mail.gamers-union.net"; var $smtpPort = 25; var $smtpUser = "admin+gamers-union.net"; var $smtpPass = ***************; var $smtpSocket = null; Ive tried single quotes, double quotes, without quotes, 127.0.0.1, localhost and Illuvatar's fix My mail server requires Authentication too. Server is linux fedora core 3 (i think). |
Quote:
What type of server is vBulletin running on? I've built up 3 new Windows 2003 servers and 2 Linux servers for clients (not my licenses for vB but client licenses) and it's worked like a charm. Can you relay to this server using Outlook for example? I'll try to help best I can... This is a rather mysterious issue though... |
Nevermind!
I fixed it! I looked at the forum of a friend who has the fix working. I looked at his files, tried something and it worked. Here's what i did: Code:
In functions.php |
Quote:
|
Not going to happen.
My forum is hacked to death (90+ hacks), and unless all those hacks are ported over to 3.5, i wont upgrade. |
I'd hate to be your webhost.
|
Why?
The forum isint that slow, its not slower than phpbb. Also 70% of the hacks i installed are administrative/optimization. |
will this work for 3.7?
The terms you say to look for are not part of the functions.php in that version. mail.php is class_mail.php in my new version. is it safe to assume that those are the same pages just different names? the code was in the mail page and I could modify as described. But for the function.php page there was nothing like what everyone says to search for? "if (false) // will eventually use $vboptions to determine this" This search phrase is not in functions.php Anyone know what the phrase was changed to? |
Quote:
|
Quote:
I was looking for something that worked. because it's not working right now. I get this error message: "Warning: 501 Unexpected response from SMTP server during FROM address transmission in [path]/includes/class_mail.php on line 586" --------------- Added [DATE]1213297902[/DATE] at [TIME]1213297902[/TIME] --------------- I get that from the Diagnostics under Maintance to test SMTP. I know the settings are correct because my Outlook can connect with the same settings and send mail. |
GrowReport, why not posting your question to the official VB support?
|
Alcorn is right, post at vBulletin.com for actual support reuqest.
|
I figured it out, thanks everyone.
I did post a support ticket but they just said it was the hosts fault. it turned out to be an extra mailto: tag in the source code when an email is sent and the name is generated it came across to the mail server as mailto:name@dot.com and of course that is not the proper format. |
All times are GMT. The time now is 09:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|