Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Need help to send M...
 
Notifications
Clear all

Need help to send Mails

9 Posts
2 Users
0 Reactions
13.7 K Views
(@bakura)
Posts: 7
Active Member
Topic starter
 
[#116]

Hello everybody,

Thank you for this program very nice!

My problem is to send mail, i have put in my parameters.php file my configuration about my server smtp but i can't sent messages.

I have an error :
Impossible d'envoyer un mail à '*@*.com'.
Contactez votre administrateur.

I have in smtpserver :
$paramMailSmtpServer = 'smtp.auth.orange-business.com';
and i use the port 587

My question is : when i put the password of my sender s'adress email and my username of the smtp server ?
How send a message if this information is not in parameters.php?

In log, i have ERRORs like this :
2011-05-16 17:45:03 ** ERROR ** Error sending mail
2011-05-16 17:45:03 ** ERROR ** SMTP Server : smtp.auth.orange-business.com
2011-05-16 17:45:03 ** ERROR ** SMTP Port : 587
2011-05-16 17:45:03 ** ERROR ** Sendmail path : /usr/sbin/sendmail -t -i
2011-05-16 17:45:03 ** ERROR ** Mail stored in Database : #21

Any idea please?
Thx.


 
Posted : 16 May 2011 19H50
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Hi,

Project'Or RIA uses classic php mail function, which does not implement authentication.
But this is not blocking on most servers to send mails.
Unfortunatly, maybe yours does (auth.*business)
Try another smtp serve (smtp.free.fr).

Another opint :
If you use a remote smtp server, you should not define $paramMailSendmailPath.
This parameter is devoted to local smtp server.
Try seting it to blank.

At last, try using local smtp server.
Most php servers provide smtp server on 'localhost', port '25'.

Hope this will help.

Regard.
Babynus.


 
Posted : 17 May 2011 0H58
(@bakura)
Posts: 7
Active Member
Topic starter
 

Thank you.

Projectorria no return any problem when i send a message but now I have a new problem, when i try to send a message with projectorria (and with the command sendmail), i have this :
May 19 16:58:28 mamachine sm-mta

  • : p4I7vWJL010206: to=, ctladdr= (33/33), delay=1+07:00:56, xdelay=00:00:00, mailer=esmtp, pri=17310753, relay=mx.mailbox.orange-business.com., dsn=4.0.0, stat=Deferred: mx.mailbox.orange-business.com.: No route to host
  • So i don't very understand why i can't sent message. I have modify php.ini of my zendserver, try many things for smtp server and port in parameters.ini, but it is the same :/

    Hope you can help me. Thx.


     
    Posted : 19 May 2011 19H18
    babynus
    (@babynus)
    Posts: 14953
    Main Contributor Admin
     

    Hi,

    The message "no route to host" seems to pointout a connection issue to your host.
    Try the following command :
    telnet mx.mailbox.orange-business.com 25
    Can you get a connection ?

    Babynus.


     
    Posted : 19 May 2011 22H54
    (@bakura)
    Posts: 7
    Active Member
    Topic starter
     

    The command send that :

    Trying 194.2.0.80...
    telnet: Unable to connect to remote host: No route to host


     
    Posted : 20 May 2011 11H27
    (@bakura)
    Posts: 7
    Active Member
    Topic starter
     

    And I have that for my smtp :

    # telnet smtp.auth.orange-business.com 587
    Trying 194.2.0.87...
    Connected to smtp.auth.orange-business.com.
    Escape character is '^]'.
    220 smtp01.msg.oleane.net ESMTP Orange Business Services (MSA); Fri, 20 May 2011 09:28:59 +0200


     
    Posted : 20 May 2011 11H29
    babynus
    (@babynus)
    Posts: 14953
    Main Contributor Admin
     

    So, you ust set :
    $paramMailSmtpServer = 'smtp.auth.orange-business.com';
    $paramMailSmtpPort = '587';
    $paramMailSendmailPath = '';

    If mailing does not work with these parameters, it is probably because this smtp server requires authentication on connection.
    So way to solve would be :
    - try another smtp server (for instance smtp.free.fr does not require autentication...)
    - set-up your own smtp server on your host (and set $paramMailSmtpServer='localhost')

    Regards
    Babynus.


     
    Posted : 20 May 2011 13H00
    (@bakura)
    Posts: 7
    Active Member
    Topic starter
     

    And i can't put my authentication 's connection on my file's configuration sendmai.mc?


     
    Posted : 20 May 2011 14H12
    babynus
    (@babynus)
    Posts: 14953
    Main Contributor Admin
     

    I don't understand.
    If you have a sendmail.mc, you have a sendmail installed : so you have your own smtp server !
    Why try and use and external one ?

    Just use your local smtp server :
    $paramMailSmtpServer = ''; (keep it blank or maybe 'localhost' or '127.0.0.1')
    $paramMailSmtpPort = ''; (keep it blank, default value is '25', check your sendmail config)
    $paramMailSendmailPath = ''; (keep it blank if sendmail is set-up at default location, otherwise, indicate sendmail path)

    Regards.
    Babynus.


     
    Posted : 20 May 2011 18H04
    Share:

    Scroll to Top