Advanced search  

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]

Pages: [1]   Go Down

Author Topic: 1.3.1 ecards on an IMAP server ?  (Read 9023 times)

0 Members and 1 Guest are viewing this topic.

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
1.3.1 ecards on an IMAP server ?
« 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
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 1.3.1 ecards on an IMAP server ?
« Reply #1 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
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: 1.3.1 ecards on an IMAP server ?
« Reply #2 on: August 19, 2004, 04:06:42 pm »

Thank's GauGau,

Quote
I 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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: 1.3.1 ecards on an IMAP server ?
« Reply #3 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
Code: [Select]
$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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 1.3.1 ecards on an IMAP server ?
« Reply #4 on: August 20, 2004, 09:30:27 am »

Reading the documentation often helps - http://coppermine.sourceforge.net/manual.php#smtp

GauGau
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: 1.3.1 ecards on an IMAP server ?
« Reply #5 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 ??
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 1.3.1 ecards on an IMAP server ?
« Reply #6 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
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: 1.3.1 ecards on an IMAP server ?
« Reply #7 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
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: 1.3.1 ecards on an IMAP server ?
« Reply #8 on: August 22, 2004, 05:05:45 pm »

Have you contacted the provider?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 1.3.1 ecards on an IMAP server ?
« Reply #9 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
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: 1.3.1 ecards on an IMAP server ?
« Reply #10 on: August 23, 2004, 12:22:09 pm »

i GauGau,
Quote
it'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
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Re: 1.3.1 ecards on an IMAP server ?
« Reply #11 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
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: 1.3.1 ecards on an IMAP server ?
« Reply #12 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 :
Quote
Warning: 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)
« Last Edit: August 23, 2004, 09:56:54 pm by PYAP »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 1.3.1 ecards on an IMAP server ?
« Reply #13 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
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: 1.3.1 ecards on an IMAP server ?
« Reply #14 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[/b]
?
Pascal
« Last Edit: August 23, 2004, 11:56:51 pm by PYAP »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: 1.3.1 ecards on an IMAP server ?
« Reply #15 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
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: 1.3.1 ecards on an IMAP server ?
« Reply #16 on: August 24, 2004, 11:24:07 am »

Gau²,
Quote
those 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  ;)
Logged

Nibbler

  • Guest
Re: 1.3.1 ecards on an IMAP server ?
« Reply #17 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:
Code: [Select]
return mail($to, $subject, $msg_body, $extra_headers);
change it to
Code: [Select]
return email($sender_name,$to, $subject, $msg_body, $sender_email, $extra_headers);
Logged

Pascal YAP

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 13833
  • Hello World :-)
    • CPG 1.5.x ExperiMental website
Re: 1.3.1 ecards on an IMAP server ?
« Reply #18 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
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 15 queries.