coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Ecards & Email => Topic started by: Pascal YAP on August 18, 2004, 03:42:48 PM

Title: 1.3.1 ecards on an IMAP server ?
Post by: Pascal YAP on August 18, 2004, 03:42:48 PM
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
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Joachim Müller on August 19, 2004, 09:08:43 AM
you can't do that at all, Coppermine comes only with support for sendmail and smtp.

GauGau
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Pascal YAP on August 19, 2004, 04:06:42 PM
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
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Tranz on August 20, 2004, 01:07:41 AM
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.
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Joachim Müller on August 20, 2004, 09:30:27 AM
Reading the documentation often helps - http://coppermine.sourceforge.net/manual.php#smtp

GauGau
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Pascal YAP on August 21, 2004, 02:34:53 PM
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 ??
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Joachim Müller on August 21, 2004, 11:05:55 PM
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
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Pascal YAP on August 22, 2004, 02:55:00 PM
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
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Tranz on August 22, 2004, 05:05:45 PM
Have you contacted the provider?
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Joachim Müller on August 23, 2004, 12:31:45 AM
it's a free provider, there's little support to be expected. I guess they won't relay for you.

GauGau
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Pascal YAP on August 23, 2004, 12:22:09 PM
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
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: omniscientdeveloper on August 23, 2004, 12:53:18 PM
@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
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Pascal YAP on August 23, 2004, 06:35:38 PM
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)
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Joachim Müller on August 23, 2004, 10:34:36 PM
this message comes from php, it shows your webhost has disabled some php functions. What server are you on (Lunix or Windows)?

GauGau
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Pascal YAP on August 23, 2004, 11:44:05 PM
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 (http://www.online.net/support/fr/doc/php4/php4_email.html)[/b]
?
Pascal
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Joachim Müller on August 24, 2004, 10:30:11 AM
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
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Pascal YAP on August 24, 2004, 11:24:07 AM
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  ;)
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Nibbler on August 24, 2004, 01:04:29 PM
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);
Title: Re: 1.3.1 ecards on an IMAP server ?
Post by: Pascal YAP on August 26, 2004, 01:26:39 AM
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