core icon indicating copy to clipboard operation
core copied to clipboard

Comments Action sends emails to: [email protected]

Open mabouza opened this issue 14 years ago • 3 comments

In the class: com/dotmarketing/cms/comment/action/CommentsAction,java

we have this code

    //I set a dummy TO email address to send the real emails using BCC
    //parameters.put("to", to);
    parameters.put("to", "[email protected]");

this causes the email servers to get bounces everytime an email is sent from the comments.

we should handle this better using an email address that is configurable on the dotmarketing-config.properties, such as a [email protected] so emails don't bounce.

mabouza avatar Jun 04 '12 19:06 mabouza

configed email worked after committing a comment on content

DeanGonzalez avatar Jun 12 '12 19:06 DeanGonzalez

Make sure you set EMAIL_TO in your property file.

Thanks, Jason S. Tesser Director, Support Services dotCMS, Inc. T: 305.858.1422 x7003 http://twitter.com/dotCMS www.dotcms.com

On Fri, Jul 20, 2012 at 3:17 PM, TheGreatAlexander [email protected] wrote:

I just upgraded to 2.1 and I still get the [email protected] bounce email.


** THIS IS A WARNING MESSAGE ONLY ** ** YOU DO NOT NEED TO RESEND YOUR MESSAGE **


----- Transcript of session follows ----- [email protected]... Deferred: Connection timed out with example.com. Warning: message still undelivered after 4 hours Will keep trying until message is 5 days old Reporting-MTA: dns; myserver.com Arrival-Date: Fri, 20 Jul 2012 09:47:31 -0400


Reply to this email directly or view it on GitHub: https://github.com/dotCMS/dotCMS/issues/475#issuecomment-7138766

dotcmsCodeReview avatar Jul 20 '12 19:07 dotcmsCodeReview

I knew I forgot something when I posted the message. I reset the EMAIL_TO and now everything works fine.

Thank you Jason!

Alex

TheGreatAlexander avatar Jul 22 '12 12:07 TheGreatAlexander