Author Topic: Senders name?  (Read 6839 times)

0 Members and 1 Guest are viewing this topic.

Offline zipper

  • Newbie
  • *
  • Posts: 11
    • View Profile
Senders name?
« on: November 20, 2002, 09:51:42 PM »
Hi all.

I have phpbb and 4images on my site. I use the same smtp server and emailadress for both scripts and it works great.

But...

When i recieve a mail from phpbb (ex. verification) the senders name is the admin emailadress entered.
But when I get emails from 4images the sender of those mails is the actual username of the mailaccount. In my case something like "postman_pop_host" wich is the name I use for connecting to the mailserver with the postman account.

I have looked in the mailsqript for both phpbb and 4images and found that phpbb contains something called "extra_headers". Is there a way to fix this for 4images aswell?

Sorry for the long post. I get carried away sometimes.  :wink:

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Senders name?
« Reply #1 on: January 21, 2006, 08:45:12 AM »
Hello,

when someone register to my site, he automatically gets a mail with the registration code.

That is ok, but the sender of the mail is marked as "nobody@server.schoolplaten.com"

i would like to change that "nobody@server.schoolplaten.com"

Do you have any idea where i can change this setting ?


i asked the helpdesk of my hosting compagny and their answer was
Quote
This happens because the script you have doesn't set headers properly for the email being sent out. I would suggest you review the script and recode it to include From and Reply-To headers to resolve your issue.

Someone knows how to solve this issue ?

thx !

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Senders name?
« Reply #2 on: January 21, 2006, 08:57:24 AM »
And you are using SMTP or non-SMTP (aka mail() function)?
Is this happening with fresh, not modifyed email.php file?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Senders name?
« Reply #3 on: January 21, 2006, 09:05:25 AM »
in email.php :   
Code: [Select]
$this->use_smtp = ($config['use_smtp'] == 1) ? 1 : 0;si i guess i use smtp (?)

and email.php was not modified

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Senders name?
« Reply #4 on: January 21, 2006, 09:24:31 AM »
No, SMTP or non-SMTP is set in the settings.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline kief24

  • Sr. Member
  • ****
  • Posts: 267
    • View Profile
Re: Senders name?
« Reply #5 on: January 21, 2006, 09:30:09 AM »
ok,
settings : "use smtp server" ---> NO