From user-return-54317-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Mon Oct 1 12:11:00 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 CCE34180660 for ; Mon, 1 Oct 2018 12:10:59 +0200 (CEST) Received: (qmail 78358 invoked by uid 500); 1 Oct 2018 10:10:58 -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 78332 invoked by uid 99); 1 Oct 2018 10:10:58 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2018 10:10:57 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 960BA1A0072 for ; Mon, 1 Oct 2018 10:10:57 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.969 X-Spam-Level: * X-Spam-Status: No, score=1.969 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_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=hotwaxsystems-com.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id t-gZUaaljxxL for ; Mon, 1 Oct 2018 10:10:56 +0000 (UTC) Received: from mail-ot1-f42.google.com (mail-ot1-f42.google.com [209.85.210.42]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id CB1935F3B4 for ; Mon, 1 Oct 2018 10:10:55 +0000 (UTC) Received: by mail-ot1-f42.google.com with SMTP id j9-v6so12487231otl.2 for ; Mon, 01 Oct 2018 03:10:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotwaxsystems-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=kf6assTWvkzjsGK5YKyo415D9C2JvESANc4e5J4kUtY=; b=1Bp7oDZ2OjfpeyaLVi1D5zSy77+wjKq4zLPkJGdX9serExhbK3dYPqK27OOIuY3nZm pt2JGeSmejVljffmlmKURAiyxs6m2aSGGeDl/Ns8EReHi9jEMwYHd/TijnSsJl/RLuqc PD19lKnJGs5BkuRxF5YZ/k+fve/euOyDfJj5lf/srbjvgjTcJTOEM+9RxzwkZEZU/r0n w7YBW8XSFwOX0/5LDbdUpHZTFZUUW0Ew+zoeSfI8ApJA/jgbVGD6KoJzOe/L27HR10w1 XoQLrT7np4PoCXtRkuP8bDAsoE8VXgS/CjzSLNRLB54FkBROcGuv41ByND2jcBKQtB8i DpXQ== 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=kf6assTWvkzjsGK5YKyo415D9C2JvESANc4e5J4kUtY=; b=ohoMG4FLkLAPPpQdFP2LxRk3NVdVBVY/me2nZxD5Ak9TLdkxCAkG4bqBrX4mYH5JeW 0dQLRegBUOvfBOgI6R/LmHhvf7IxLntQFeAO609KdWvzXSpIXYhI59FD7WZGfmn18X6Y nKCaXdrv/Er2+PHvauu1Wk5VfjHXMaB3PrBX9vmHxyNsVDf7koXNqk5F/SrSiMrdL4vq 8V0AiQcsxkZOpr8fTF3RUHDdlpvExVzEC38mdfE+9TLotJ9JN/dw+9ri3cPdXN+KkQRg d42mCz70Df+gN/3fVbaz5I7LWri2wSaOKdc939ky7DucNJEFtNqJNtzGrTgdBh2sDIOc 7H4A== X-Gm-Message-State: ABuFfoj1bqNvCTDffKJPH7jWl5NVg9cbGSsqKSZ2k3LOlESovLalfEW0 +rO99gv2nJ8aG+X6g36DGV/HPgvQNfPcIzHc3hQqVSni X-Google-Smtp-Source: ACcGV63mXclCwkyv51QO/73VjBYV4TytYYXfxvBSw5c0L9PD/IvmiUALNxAmd6WAgtskL3BQ6bmm2qEU+HMt4AcEKm4= X-Received: by 2002:a9d:2186:: with SMTP id s6-v6mr5607695otb.67.1538388654774; Mon, 01 Oct 2018 03:10:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Pritam Kute Date: Mon, 1 Oct 2018 15:40:43 +0530 Message-ID: Subject: Re: How to send and receive email in ofbiz To: user@ofbiz.apache.org Content-Type: multipart/related; boundary="0000000000004b97e0057728053c" --0000000000004b97e0057728053c Content-Type: multipart/alternative; boundary="0000000000004b97de057728053b" --0000000000004b97de057728053b Content-Type: text/plain; charset="UTF-8" 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 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. > > > > > > > > > > --0000000000004b97de057728053b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello Madhi,

Which settings you have us= ed? Gmail settings or your personal SMTP server setup?=C2=A0

Thanks and Reg= ards
--
Pritam Kute=C2=A0| Sr. Enterprise Software Engineer
= HotWax Commerce=C2=A0=C2=A0by=C2=A0=C2=A0HotWax Systems
<= /span>
Plot no. 80, Scheme no. 78, Vijay Nagar, Indore, M.= P. India 452010
Cell phone: +91 82519 20492
=
HotWax Systems=C2=A0= recently received 8 mentions=C2=A0in=C2=A0The Gartner Digital Commerc= e Vendor Guide, 2016=C2=A0by=C2=A0Gartner, Inc., the=C2=A0world'= ;s leading IT research and advisory company.=C2=A0Learn more about our r= esearch=C2=A0here.

3D"Inline=


<= div dir=3D"ltr">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 trie= d to
execute it from webtool

On Mon, Oct 1, 2018 at 2:11 PM Deepak Dixit <deepak.dixit@hotwax.co> wrote:

> Hi Madhi Krishnan
>
> To send email you need do configuration in general.properties files. Y= ou
> can use SystemProperties data as Pritam mentioned.
> To receive email you need to configure JavaMail Container located at t= he
> 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<= /a>
> >
> 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.
> >
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.notifications.enabled" systemP= ropertyValue=3D"Y"/>
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.smtp.relay.host" systemPropert= yValue=3D"smtp.
> >
gmail.com
> > "/>
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.smtp.auth.user" systemProperty= Value=3D"Your Gmail
> > Address"/>
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.smtp.auth.password" systemProp= ertyValue=3D"Your
> Gmail
> > Password"/>
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.smtp.port" systemPropertyValue= =3D"465"/>
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.smtp.starttls.enable" systemPr= opertyValue=3D"true"/>
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.smtp.socketFactory.port"
> > systemPropertyValue=3D"465"/>
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.smtp.socketFactory.fallback" > > systemPropertyValue=3D"false"/>
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.smtp.socketFactory.class"
> > systemPropertyValue=3D"javax.net.ssl.SSLSocketFactory"/= >
> >
> > If you are going to run your custom SMTP server on the same machi= ne where
> > OFBiz is running, then you need some different settings.
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.notifications.enabled" systemP= ropertyValue=3D"Y"/>
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.smtp.relay.host" systemPropert= yValue=3D"localhost"/>
> >
> > <!-- If you want to redirect all email traffic from OFBiz inst= ance to
> > perticular XYZ email address, set following property -->
> > <SystemProperty systemResourceId=3D"general"
> > systemPropertyId=3D"mail.notifications.redirectTo" syst= emPropertyValue=3D"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.propertie= s files if
> > any?
> > > And do we need to run a smtp server on background?
> > > Thank You.
> > >
> >
>
--0000000000004b97de057728053b-- --0000000000004b97e0057728053c--