From user-return-54330-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Tue Oct 2 11:57:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8344618077A for ; Tue, 2 Oct 2018 11:57:05 +0200 (CEST) Received: (qmail 93319 invoked by uid 500); 2 Oct 2018 09:57:04 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 93136 invoked by uid 99); 2 Oct 2018 09:57:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2018 09:57:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4E7C31809E7 for ; Tue, 2 Oct 2018 09:57:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.988 X-Spam-Level: * X-Spam-Status: No, score=1.988 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=udyogmandir-in.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id fBnUaGuycb60 for ; Tue, 2 Oct 2018 09:57:00 +0000 (UTC) Received: from mail-oi1-f179.google.com (mail-oi1-f179.google.com [209.85.167.179]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id D4C1C5F32F for ; Tue, 2 Oct 2018 09:56:59 +0000 (UTC) Received: by mail-oi1-f179.google.com with SMTP id u74-v6so994758oia.11 for ; Tue, 02 Oct 2018 02:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udyogmandir-in.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=NPp+S/eQfexedcHQT5IMSz/93/Z0y6Yb80LbdqsLQwE=; b=e5XmkLIWLUtT7H45tnb97Joe1d+jbnUNE/FrFQEQuyVUk0ORC0SmtfIMP9S8VtroY8 RuoTW+3cefIgw+KFBKjClKn0A/uf5Hc+pbN7tepxp71WPIR+QZBDIdcD1DvRV0qS6vdw mwaZwtNYTTF4+nSHl7c2Cr4tdcZYyx1rOJGPAW7VKLd0QRHkelSvOkxXLc79YT/gXXLE lONCUdHVWLYVsr+0pStA1pgFSv6Nqa29SGrVMXnm98nKKvAiyjCCKMyx2DxY1bVm0kkK rGWdeSxth5byAz1CVn41hBVVjVItRP0Ir0Y9R3qodGYC9RVg3lqP2ni1lh0TEzA0ld1t IJnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=NPp+S/eQfexedcHQT5IMSz/93/Z0y6Yb80LbdqsLQwE=; b=oAYFsaH9MSWMATCAIVGfGnSFbnjvdrOrfMSo3cX6Mc4O+T9bFIyFfloHW/EtFAvS0d wUX5uwSSBb/CrsrgZRAJcFSQ99H4+Kzl1S2l8Ef0O1VFSh7qCKFSGNw9gh/0VVkdgBnU tkriuEitVfLqV1WHvT2a/TFbTdQIHrUCuxS14eND8UsIU4cxC/uBnIbx4MMkDJ6HqxLe Hj00IPoNKYuN4s2nLg3CgepBL5wa+Vid9sFzI8sphH6LudcCzTGJJUIW7KE4ehra62So ee8dBNojXo55VVY0FWJ3HO1JSxUZrKPkJ9bMxdKRhLQkQGsSAXVlVFj+ssr6eiuf1c/m ZIXg== X-Gm-Message-State: ABuFfohGfTvI4WAKNnQPI4hbB83Q/x1jYIsLEiR5H/FSyXXoOerh5/e3 1oHWl+/V9ppZtywHaFgUXNx18U1lH3Z6Nv9VuFh6ZMJU X-Google-Smtp-Source: ACcGV60qePfymEJjl9PbJCSeJkWdmLMz6dzGh8+Vs9O3ZqaledooyINEmF2DMt87Xnypo7Jn+HADdnAyOzhQA1Hl9HY= X-Received: by 2002:aca:e7c6:: with SMTP id e189-v6mr5406037oih.49.1538474212947; Tue, 02 Oct 2018 02:56:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Madhi Krishnan Date: Tue, 2 Oct 2018 15:26:40 +0530 Message-ID: Subject: Re: How to send and receive email in ofbiz To: user@ofbiz.apache.org Content-Type: multipart/alternative; boundary="000000000000f58a9805773bf043" --000000000000f58a9805773bf043 Content-Type: text/plain; charset="UTF-8" Hello pritam.. Now it is working Prefectly..The problem was my account was not allowing to acces the account from a less secure application.. Thank you for you help.. Thank You All On Mon, Oct 1, 2018 at 3:50 PM Madhi Krishnan wrote: > I'm not using any personal smtp server..Used the gmail settings > > On Mon, Oct 1, 2018 at 3:40 PM Pritam Kute > wrote: > >> Hello Madhi, >> >> Which settings you have used? Gmail settings or your personal SMTP server >> setup? >> >> Thanks and Regards >> -- >> *Pritam Kute* | Sr. Enterprise Software Engineer >> HotWax Commerce by HotWax Systems >> >> Plot no. 80, Scheme no. 78, Vijay Nagar, Indore, M.P. India 452010 >> Cell phone: +91 82519 20492 >> >> HotWax Systems recently received 8 mentions in *The Gartner Digital >> Commerce Vendor Guide, 2016 *by Gartner, Inc., the world's leading IT >> research and advisory company. Learn more about our research here >> >> . >> >> [image: Inline image 1] >> >> >> On Mon, Oct 1, 2018 at 3:23 PM Madhi Krishnan < >> madhi.krishnan@udyogmandir.in> wrote: >> >>> Hello pritam.. >>> I have made the changes that you have mentioned above..But its >>> showing .errorMessage >>> [CON] Connection error when sending message >>> Actually i'm using the out of the box service called sendMail..And tried >>> to >>> execute it from webtool >>> >>> On Mon, Oct 1, 2018 at 2:11 PM Deepak Dixit >>> wrote: >>> >>> > Hi Madhi Krishnan >>> > >>> > To send email you need do configuration in general.properties files. >>> You >>> > can use SystemProperties data as Pritam mentioned. >>> > To receive email you need to configure JavaMail Container located at >>> the >>> > following file >>> > >>> > framework/service/ofbiz-component.xml >>> > >>> > Thanks & Regards >>> > -- >>> > Deepak Dixit >>> > >>> > >>> > On Mon, Oct 1, 2018 at 1:45 PM, Pritam Kute < >>> pritam.kute@hotwaxsystems.com >>> > > >>> > wrote: >>> > >>> > > Hello Madhi, >>> > > >>> > > You can use your Gmail account for sending emails in the OFBiz. >>> > > >>> > > Here you need to add following properties to your system. >>> > > >>> > > >> > > systemPropertyId="mail.notifications.enabled" >>> systemPropertyValue="Y"/> >>> > > >> > > systemPropertyId="mail.smtp.relay.host" systemPropertyValue="smtp. >>> > > gmail.com >>> > > "/> >>> > > >> > > systemPropertyId="mail.smtp.auth.user" systemPropertyValue="Your >>> Gmail >>> > > Address"/> >>> > > >> > > systemPropertyId="mail.smtp.auth.password" systemPropertyValue="Your >>> > Gmail >>> > > Password"/> >>> > > >> > > systemPropertyId="mail.smtp.port" systemPropertyValue="465"/> >>> > > >> > > systemPropertyId="mail.smtp.starttls.enable" >>> systemPropertyValue="true"/> >>> > > >> > > systemPropertyId="mail.smtp.socketFactory.port" >>> > > systemPropertyValue="465"/> >>> > > >> > > systemPropertyId="mail.smtp.socketFactory.fallback" >>> > > systemPropertyValue="false"/> >>> > > >> > > systemPropertyId="mail.smtp.socketFactory.class" >>> > > systemPropertyValue="javax.net.ssl.SSLSocketFactory"/> >>> > > >>> > > If you are going to run your custom SMTP server on the same machine >>> where >>> > > OFBiz is running, then you need some different settings. >>> > > >> > > systemPropertyId="mail.notifications.enabled" >>> systemPropertyValue="Y"/> >>> > > >> > > systemPropertyId="mail.smtp.relay.host" >>> systemPropertyValue="localhost"/> >>> > > >>> > > >>> > > >> > > systemPropertyId="mail.notifications.redirectTo" >>> systemPropertyValue="XYZ >>> > > Email Address"/> >>> > > >>> > > Hope this helps you. Please let me know if you are facing any >>> > difficulties. >>> > > >>> > > Thanks and Regards >>> > > -- >>> > > Pritam Kute >>> > > >>> > > On Mon, Oct 1, 2018 at 12:45 PM Madhi Krishnan < >>> > > madhi.krishnan@udyogmandir.in> wrote: >>> > > >>> > > > hey all.. >>> > > > Can you one please help me on how to send and receive email in >>> ofbiz.. >>> > > > What are the changes that we have to do in general.properties >>> files if >>> > > any? >>> > > > And do we need to run a smtp server on background? >>> > > > Thank You. >>> > > > >>> > > >>> > >>> >> --000000000000f58a9805773bf043--