Author Topic: Sending mails doesn't work --> i get no error  (Read 6764 times)

Unwise

  • Newbie
  • *
  • Posts: 2
    • View Profile
Sending mails doesn't work --> i get no error
« on: February 07, 2011, 11:11:48 am »
When i try to send emails to other user the mail comes in sent box but the receivers doesn't get the mail.

When i try the testmail tool it works...

Can someone help me?

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Sending mails doesn't work --> i get no error
« Reply #1 on: February 07, 2011, 11:35:43 am »
Hi, have you looked into the log.php file? Have those users received the email in their email account (-check it via web-)? If they have in there, but not in Feng Office.. have they checked their email accounts in Feng Office (-check mail button / cron event receiving emails-) and have they checked their filters?

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

Unwise

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Sending mails doesn't work --> i get no error
« Reply #2 on: February 07, 2011, 11:56:06 am »
my log.php file:
I use default php settings.

Session "default" started at 2011-02-06T15:14:24+0000
#1 ERROR: Error: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: php_network_getaddresses: getaddrinfo failed: Name or service not known in '/var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/library/swift/lib/classes/Swift/Transport/StreamBuffer.php' on line 233 (error code: 2)
#2 ERROR: Error: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to :25 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in '/var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/library/swift/lib/classes/Swift/Transport/StreamBuffer.php' on line 233 (error code: 2)
#3 ERROR: ERROR SENDING EMAIL: #0 /var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/library/swift/lib/classes/Swift/Transport/StreamBuffer.php(70): Swift_Transport_StreamBuffer->_establishSocketConnection()
    #1 /var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/library/swift/lib/classes/Swift/Transport/AbstractSmtpTransport.php(101): Swift_Transport_StreamBuffer->initialize(Array)
    #2 /var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/library/swift/lib/classes/Swift/Mailer.php(74): Swift_Transport_AbstractSmtpTransport->start()
    #3 /var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/environment/classes/mail/MailUtilities.class.php(714): Swift_Mailer->send(Object(Swift_Message))
    #4 /var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/application/controllers/MailController.class.php(791): MailUtilities->sendMail('', 'farrah.degroef@...', Array, 'Re: lan', '<div style="fon...', '', '', NULL, 25, 'glenn.jacobs@jh...', 'lycjivr~k', 'text/html', '', '<og.1297005264....', '<001701cbc60a$f...', Array, 'Message-ID: <og...', 2)
    #5 /var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/environment/classes/controller/Controller.class.php(76): MailController->send_outbox_mails()
    #6 /var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/environment/classes/controller/PageController.class.php(62): Controller->execute('send_outbox_mai...')
    #7 /var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/environment/classes/Env.class.php(133): PageController->execute('send_outbox_mai...')
    #8 /var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/init.php(163): Env::executeAction('mail', 'send_outbox_mai...')
    #9 /var/www/vhosts/jh-qbus.be/subdomains/km/httpdocs/index.php(9): require('/var/www/vhosts...')
    #10 {main}
#4 DEBUG: Could not send email: Connection could not be established with host  [php_network_getaddresses: getaddrinfo failed: Name or service not known #0]
    mail_id=346
#5 DEBUG: Swift returned sentOK = false after sending email
    mail_id=346
Time since start: 0.35003685951233 seconds

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Sending mails doesn't work --> i get no error
« Reply #3 on: February 11, 2011, 01:23:35 pm »
There you go then.. Try using SMTP settings instead of PHP default ones. If the problem persists check once again if your email account has been set correctly.

Remember to check the log when you have problems, so you can try solving it yourself

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

omata

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Sending mails doesn't work --> i get no error
« Reply #4 on: March 17, 2011, 12:04:04 pm »
I'm having the same problem, I changed to SMTP but it keep returning an error without description when I try to send a email.

The log file just shows a socket error with a library from PEAR. Ergo, server can't be contacted and SSL error occurs.

Any thoughts?

Regards,

Oscar.

There you go then.. Try using SMTP settings instead of PHP default ones. If the problem persists check once again if your email account has been set correctly.

Remember to check the log when you have problems, so you can try solving it yourself

Best regards,
Francisco


franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: Sending mails doesn't work --> i get no error
« Reply #5 on: March 17, 2011, 02:35:19 pm »
The log file just shows a socket error with a library from PEAR. Ergo, server can't be contacted and SSL error occurs.

Seems to be a problem with the connection with the email server. Check your settings again and make sure you read the thread I have made in my signature.

Best regards,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!

Baveskara

  • Hero Member
  • *****
  • Posts: 648
    • ICQ Messenger - 365673748
    • Yahoo Instant Messenger - cialis and beer
    • View Profile
    • generic cialis 5 mg from india
    • Email
raw tadalafil powder cialis powder
« Reply #6 on: July 27, 2022, 04:24:51 am »
clomid fertility You should not drink alcohol while taking lorazepam
« Last Edit: December 08, 2022, 12:12:00 am by Baveskara »


Baveskara

  • Hero Member
  • *****
  • Posts: 648
    • ICQ Messenger - 365673748
    • Yahoo Instant Messenger - cialis and beer
    • View Profile
    • generic cialis 5 mg from india
    • Email
fda approved cialis
« Reply #8 on: July 27, 2022, 03:03:32 pm »
<a href=http://buycialikonline.com>Cialis</a> Is Alli Back On The Market

Baveskara

  • Hero Member
  • *****
  • Posts: 648
    • ICQ Messenger - 365673748
    • Yahoo Instant Messenger - cialis and beer
    • View Profile
    • generic cialis 5 mg from india
    • Email
compare cialis and tadalafil
« Reply #9 on: January 18, 2023, 09:15:57 pm »
cialis tablets for sale Jerald KiiXupMMmhxDsbupVsg 6 28 2022