UBB.Dev
Posted By: monkeyra e-mails being sent from by board has the wrong - 11/03/2002 10:37 PM
when i get sent e-mails from my board, or people get sent e-mails from my board for whatever reason, it always says it's from my servername (nickjenk) instead of my website name (mondeo enthusiasts group)
how do i change this?
What version of .threads are you using?

This could be do to your email header not being what sendmail expects and so your server's name is substituted. I think it was 6.1 that addressed this problem with headers.
6.0.3
i'd rather not upgrade if possible, mainly just because i'm too lazy to rehack my board!
Well then try downloading 6.1.1 and using the header function for the emails out of that and see if it works.
lol, sorry, you lost me there mate.
downloading 6.1.1 np, but using the header function?
where is that?
It's in the ubbt.inc.php file above the send_header function.
just say i did upgrade. would i lose my custom forum headers?
i'm gonna download the new version to look at now
Simple thing.... you have the email address setup in the config file right? Make sure this isn't blank.

This Post will recap about upgrading.

If you don't replace the includes directory... you won't lose your custom headers.
yeah, e-maill addy is in there
Maybe it's using the email addy set up in the php.ini file?
I have a question on this one as well.

When my board sends emails I have changed it so it says [][email protected][/] now my question is simply how can I have it just say sitename.
where would i find the php.ini file?
If you have a Windows box, it should be in the Windows folder (WINNT for NT or 2000). For other OS's I really don't know.

If on the other hand your board is hosted elsewhere you need to contact your ISP.

Warm regards

Nikos
i'm running on unix.
i have access to the root, i just dont want to have to look through tons of folders!
where would i find the php.ini file?

Create a file phpinfo.php with the following contents:

code:
<?php phpinfo(); ?>



Then run that script. Near the beginning of the output, it will tell you the location of php.ini. In my case, it's /usr/local/lib/php.ini.

Don't leave the script phpinfo.php lying around where other people can run it.
well i'm now at a complete loss.
the only reference to nickjenk is the "user" sections.
i still get some e-mails when ubbthreads gets an abnormal e-mail address when a new user signs up, and it's bounced back to me and says it's from localhost, so i know something isn't configured correctly.
well, i solved this.
it was due to the httpd.conf file in my apache server.
my host also lied to me.....
they blamed it on ubbthreads, which i was 99% sure it wasn't.
© UBB.Developers