Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - ebk

Pages: [1]
1
General PHP Help / Re: Little php mail issue
« on: March 21, 2012, 02:12:56 PM »
well, the settings panel didn't contain such a thing, nor the Admin folder.
But overwriting info@".$aworld[settings][uri] with the full email address worked like a charm :)
Thanks!

2
General PHP Help / Re: Little php mail issue
« on: March 20, 2012, 03:59:26 PM »
thanks a lot!
when i accepted the mission, i thought it would just be a matter of changing php.ini, but it appeared the file is in a parent folder and there's no access for me.
So the last solution will do just fine

And thanks again. It's much appreciated to find such a forum, where experienced people are willing to give a bit of time and help newbies. The web is still a nice place  ;)

3
General PHP Help / Little php mail issue
« on: March 19, 2012, 02:52:07 PM »
Hi! It's probably something silly, but i'm a mere designer and not a php wizard, so maybe someone here could help?

Old domain name was acquired before the rightful owner could renew it, and the developer is reluctant to help. My CMS admin panel proposes a Newsletter section to reach members, but keeps sending emails from the old domain, and i'd like to fix it

In ModNewsletter.php, i found this section of code:
PHP Code: [Select]
$CLib -> 
MailToHTML($AddAddress,$text,$text,$aworld[newsletter][subject],"info@".$aworld[settings][uri]);


Basically i would like to hardcode the complete email address with the new domain name, since i'm unable to change the one called by php. But i'm not sure of the right syntax and the last part is quite mysterious to me, so i'm not sure it should be kept or removed.

Should I rewrite
Code: [Select]
"info@domain.com".$aworld[settings][uri]);or
Code: [Select]
"info@domain.com";
I hope i'm making sense.
Thanks in advance!

Pages: [1]