1.3.1 ecards on an IMAP server ? 1.3.1 ecards on an IMAP server ?
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

1.3.1 ecards on an IMAP server ?

Started by Pascal YAP, August 18, 2004, 03:42:48 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pascal YAP

Hello All users and others Coppermine GURU :-)

 A simple problem with my email server.
I try to configure Coopermine with an SMTP server, who is on an other domain. But it's do not work.

But my web email server work only with IMAP (on the same domain galerie ( http://expo.pays-dignois.com )
Where's the PHP file where i can change SMTP to IMAP ?

Thanx by advance

Pascal

Joachim Müller

you can't do that at all, Coppermine comes only with support for sendmail and smtp.

GauGau

Pascal YAP

Thank's GauGau,

QuoteI try to configure Coopermine with an SMTP server, who is on an other domain. But it's do not work.

Then, IMAP with Coppermine is obsolete. But my SMTP mailserver is on an other domain. Is it possible ?
Thnx
Pascal

Tranz

I had thought that IMAP was just for checking mail, and SMTP is for sending it. In any case, the file to edit is include/mailer.inc.php
$CONFIG['smtp_host'] = domain.com'; and replace with the name of your server. If your server requires authentication, fill out the username and password info, too.

Joachim Müller


Pascal YAP

i,
Thank you very much, but i replaced SMPThost, PW, and ID at the very first begening on my test...
After that ONLY, i put my question here !

My new question is : can i have an SMPTHost outside my domain ??

Joachim Müller

yes, is reported to work fine (generally speaking), but your remote smtp server has to be configured to accept the connection from your webserver. Not all smtp servers do that (relaying mail from "unknown" servers) - you will have to ask your webhost or the admin of the smtp server for details.

GauGau

Pascal YAP

Thanx GauGau,

   All my Config is OK.... I do not understand nothing :-/

My SMTP mail server is under WANADOO.FR.... maybe someone, here, use this french provider.
I hope
hellllllllppppppppppp me !  ;)

Pascal

Tranz


Joachim Müller

it's a free provider, there's little support to be expected. I guess they won't relay for you.

GauGau

Pascal YAP

i GauGau,
Quoteit's a free provider

No, Wanadoo.fr is not a free provider. Wanadoo is a part of the french telecom (France Telecom), and the price to obtain a dial is not FREE.
Do not make a mistake with Free.fr who is totaly free :-)

I verify and verify again mailer.inc.php and there's no error :-/////
I continue to understand nothing !
but i also continue to love Coppermine  ;)

Pascal

omniscientdeveloper

@pascal: I doubt that this is possible. I haven't seen a host yet that'll allow you to relay mail. They can tell the type of email client the SMTP request is coming from.


-omni

Pascal YAP

#12
HellAll :-/

I'm always looking for around this ecards problem...
There's two minutes, i uploaded one picture in my gallery... and in the top of screen, after upload, appear the following WARNING :
QuoteWarning: chmod, chgrp, diskfreespace, rmdir, realpath, tmpfile, link, imap_mail()  has been disabled for security reasons in upload.php on line 2229
Warning: chmod, chgrp, diskfreespace, rmdir, realpath, tmpfile, link, imap_mail()  has been disabled for security reasons in picmgmt.inc.php on line 215
Is there (in red) an hiden IMAP function somewhere that is possible to UNABLE ???

At this time nobody can post my photos  ???

Pascal
(http://expo.pays-dignois.com)

Joachim Müller

this message comes from php, it shows your webhost has disabled some php functions. What server are you on (Lunix or Windows)?

GauGau

Pascal YAP

#14
GauGau,

 My web host is under Linux, look here for more details (in fr) http://www.online.net/support/fr/pft.html

 i add an other page about PHP4.0 at Online.fr who change the original PHP email function mail() by  email()

  Look here : http://www.online.net/support/fr/doc/php4/php4_email.html[/b]
?
Pascal

Joachim Müller

erm, those pages are in french - little point for me to look at them. Did your changes make any difference? Is your issue solved?

GauGau

Pascal YAP

Gau²,
Quotethose pages are in french
Yes it's true, sorry, but PHP infos in those pages are in an universal language PHP ! Maybe the exemples in those pages can help you , and after you can help me :-)

I'm thinking that this custom mail() function, is the problem for me et my ecards.

Then, where's the PHP Coppermine file, to change this email() function by the new one ?

If Coppermine tell the orignal function who is not implemented, ecards can not work properly , is'nt it ?

Pascal

english is not my mother language. I can not speak english, i read a very little, and my write is very poor in vocabulary  ;)

Nibbler

Looks like they have their own email function you need to use which has anti-spam stuff on it, so open your mailer.inc.php and find:
return mail($to, $subject, $msg_body, $extra_headers);

change it to
return email($sender_name,$to, $subject, $msg_body, $sender_email, $extra_headers);

Pascal YAP

i Nibbler,

  Your idea has no effect :(
Then, i tried to refresh all Coppermine's files in my server...
in two + days ...

WwWait and see
Pascal