PDA

View Full Version : Email From field has a name instead of just an address


JoshFink
12-16-2007, 08:55 PM
What I really want, and it's probably something simple, is the ability to have a name instead of just an address when I do a "send an email to all users"

i.e. right now when I send an email to all users it comes in as admin@mydomain.com

What I want it to be is

MyDomain Admin

Does that make sense? I think it looks a little better but I can't figure out how to do it.

Thanks

Josh

alexgeek
12-18-2007, 06:00 PM
You could try editing the following in class_mail.php

@ini_set('sendmail_from', $this->fromemail);

to

@ini_set('sendmail_from', "Forum.com, admin email blabalblal".$this->fromemail);

JoshFink
12-18-2007, 07:03 PM
Thanks but that didn't seem to do a thing.

Josh

alexgeek
12-18-2007, 08:33 PM
Sorry. I will have another go tomorrow.

JoshFink
12-18-2007, 08:58 PM
Sorry. I will have another go tomorrow.

No worries. I appreciate you trying.

Josh

JoshFink
01-16-2008, 10:56 AM
Does anyone have any ideas on this? I can't be the only one who hates how this looks.

Thanks

Josh