vladovi | 4 Mar 2008 00:44
Picon

Sending mail through mail() function

Hello,

I just installed NOCC and I'm really amazed with it. But I have some problems with it.

The first one is critical. I can't send emails! I need to use mail() function. I know it works fine on the server I use. So I left in conf.php $conf->domains[$i]->smtp = '';. According to the documentation this should instruct NOCC to use mail() instead of SMTP. But if I try to send an email, I get this error: "unable to send message, SMTP server unreachable". What might be wrong?

The second problem is rather annoying. If I cecieve some emails and there arelinks, I like to open them in a new tab. Unfortunately with NOCC I can't do that because the link is made with javascript and returns javascript:void(0); if clicked by middle button (in Opera and Firefox). Can I change this behaviour?

The last thing is only cosmetical. I like to have "Subject" as first column. I could change it but unfortunately the column is very narrow compared to columns "From" and "To", which are less important to me. Is it possible to change it?

Thank you.

Best regards,

Vlada

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nocc-discuss mailing list
Nocc-discuss <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nocc-discuss
Arnaud Boudou | 4 Mar 2008 07:35

Re: Sending mail through mail() function


Le 4 mars 08 à 00:44, <vladovi <at> atlas.cz> a écrit :
> Hello,
> I just installed NOCC and I'm really amazed with it. But I have some  
> problems with it.
> The first one is critical. I can't send emails! I need to use mail()  
> function. I know it works fine on the server I use. So I left in  
> conf.php $conf->domains[$i]->smtp = '';. According to the  
> documentation this should instruct NOCC to use mail() instead of  
> SMTP. But if I try to send an email, I get this error: "unable to  
> send message, SMTP server unreachable". What might be wrong?

Could you send me you conf.php file ?

>
> The second problem is rather annoying. If I cecieve some emails and  
> there arelinks, I like to open them in a new tab. Unfortunately with  
> NOCC I can't do that because the link is made with javascript and  
> returns javascript:void(0); if clicked by middle button (in Opera  
> and Firefox). Can I change this behaviour?

The javascript is here to open links in new window / tab if the link  
is left clicked. I you really want to use middle click to open links  
in a new window / tab, and use left click to open links in the current  
window / tab, you'll have to comment each line of functions.php file  
containing the string “void(0)” (with CVS HEAD, lines 590, 591 and 597).

>
> The last thing is only cosmetical. I like to have "Subject" as first  
> column. I could change it but unfortunately the column is very  
> narrow compared to columns "From" and "To", which are less important  
> to me. Is it possible to change it?

Look for classes “#inboxTable .columnX” into themes/<your_theme>/ 
style.css file. With defaults themes, only styles for columns 0 and 5  
are defined in this file, but you may add any columns you need.

Regards
--

-- 
Arnaud Boudou
http://goddess-gate.com/dc2/index.php/fr (français)
http://goddess-gate.com/dc2/index.php/en (english)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

Gmane