Feng Forum

Support => Feng Office 3 => : cesarguerrero April 20, 2016, 08:06:12 AM

: e-mail message being sent again and again
: cesarguerrero April 20, 2016, 08:06:12 AM
Hello,

I am getting the following problem in feng office 3.4.7 with an email account configured for IMAP:

I needed to send an enquiry to like 30 different prospective providers so I wrote an email to myself with all these people in CCO. I assume that there is a problem with some of these adresses, or something of the like, and as a result the same e-mail keeps being sent to all of these recipients every time I send any e-mail to anyone whatsoever. When I log on feng office it says that there are emails pending of sending, but the outbox is empty. How can I remove this from wherever it needs to get removed so it's not sent again an again? Btw this does not happen when I send e-mail with other clients, so it's something within feng office.

Thanks in advance!

P.D. From log.php:

#40 ERROR: ERROR SENDING EMAIL: #0...SimpleEventDispatcher.php(157): Swift_Plugins_LoggerPlugin->exceptionThrown(Object(Swift_Events_TransportExceptionEvent))
..
    #11...MailUtilities.class.php(838): Swift_Mailer->send(Object(Swift_Message))
    #12 ...MailController.class.php(970): MailUtilities->sendMail('mmmmm...', 'xxxx ...', Array, 'paper packaging...', '<div style="fon...', '', 'tttttt...', NULL, 465, 'cccccc...', 'ifwpfvlpz'))+', 'text/html', 'ssl', '<og.1458303034....', '', Array, 'Message-ID: <og...', 2)
    #13 ...Controller.class.php(76): MailController->send_outbox_mails()
    #14 ...PageController.class.php(62): Controller->execute('send_outbox_mai...')
    #15...Env.class.php(129): PageController->execute('send_outbox_mai...')
    #16 /...init.php(177): Env::executeAction('mail', 'send_outbox_mai...')
    #17...index.php(7): require('/home/gwervnwh/...')
    #18 {main}
#41 DEBUG: Could not send email: Expected response code 250 but got code "451", with message "451 Temporary local problem - please try later
    "
    Log data:
    ++ Swift_SmtpTransport started
   
    >> MAIL FROM: <xxxx.>
   
    << 250 OK
   
    >> RCPT TO: <yyyyy.>
   
    << 250 Accepted
   
    >> DATA
   
    << 354 Enter message, ending with "." on a line by itself
   
    >>
    .
   
    << 451 Temporary local problem - please try later
   
    !! Expected response code 250 but got code "451", with message "451 Temporary local problem - please try later
    "
    mail_id=3618
#42 DEBUG: Swift returned sentOK = false after sending email
    mail_id=3618



: Re: e-mail message being sent again and again
: cesarguerrero April 22, 2016, 04:29:21 AM
Well thank you for the non-help. Fortunaltely I figured it out by myself, I leave what I did here in case it's useful for somebody later on.

I followed this lead from the log file

    mail_id=3618
#42 DEBUG: Swift returned sentOK = false after sending email
    mail_id=3618

I couldn't find any table on the database with a field called 'mail_id', but there is a fo_mail_contents with an object_id key. There the row with object_id=3618 whas the only one with state=328, so I assume this is the message giving the error. I set the state to 0 (sent), and I no longer have the problem.