Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 96241 invoked from network); 22 Mar 2011 04:34:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Mar 2011 04:34:52 -0000 Received: (qmail 88807 invoked by uid 500); 22 Mar 2011 04:34:52 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 88744 invoked by uid 500); 22 Mar 2011 04:34:51 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 88733 invoked by uid 99); 22 Mar 2011 04:34:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Mar 2011 04:34:51 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sonamc@gmail.com designates 209.85.216.172 as permitted sender) Received: from [209.85.216.172] (HELO mail-qy0-f172.google.com) (209.85.216.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Mar 2011 04:34:44 +0000 Received: by qyk29 with SMTP id 29so2788023qyk.10 for ; Mon, 21 Mar 2011 21:34:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=YcHnXCuoXGz0SZLw31UdospGX6B/h7/zmduNWuzefXE=; b=ddmWFLGqCZmI7yZqbjevRwnXMQ6BMoxpFZnyXQPyxGhAPUynkEUAuo3WR95xYt8Lz4 qySgi4JcPXKDT0/KwD8appZAjz66MwrIH6/o0ThOrBpZ6rJMQZkobY6idwph9Avc0bTw sXAjqnPQ7GV07YgdQMKmd14sBwSZEUxa9dEis= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=XVFwMdyppqe7Fb0sJg6bd0Tk1IcT7nWCPn+/LFSbFv8JOwEuClUWfj0EJscN4DHrlq bB5I7rx13Cyq5QCMNRxM94yG8tm4SSsZYqtx/dpDL13R/eLbLzyINc60f0QFIHCTRQp2 SqH3OG6T4iMvc3FlM2ICSl0plACSS2gyBWRWE= MIME-Version: 1.0 Received: by 10.224.27.140 with SMTP id i12mr4187726qac.318.1300768464028; Mon, 21 Mar 2011 21:34:24 -0700 (PDT) Received: by 10.52.167.71 with HTTP; Mon, 21 Mar 2011 21:34:23 -0700 (PDT) In-Reply-To: References: Date: Tue, 22 Mar 2011 15:34:23 +1100 Message-ID: Subject: Re: SMTP sampler woes From: Sonam Chauhan To: JMeter Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable > Which version of JMeter are you using? The latest, 2.4 (just downloaded it yesterday :) Sonam On Tue, Mar 22, 2011 at 10:23 AM, sebb wrote: > On 21 March 2011 23:19, Sonam Chauhan wrote: >> I've been trying without success to get the JMeter SMTP sampler =A0to >> simulate sending email =A0to a system which receives emails in >> particular format. I basically need it to send a multipart MIME email, >> containing a single part (content type 'text/plain') with an XML >> document. (Please see example below). >> >> Depending on the options used, the JMeter SMTP sampler =A0seems to >> either not send a multipart message, or base-64 encode the XML >> document -- =A0the receiving system cannot handle this. >> >> Is there any way to just specify the full body of the email, including >> headers? =A0i.e. Can the SMTP sampler =A0send an =A0email exactly as sho= wn >> below? > > Which version of JMeter are you using? > >> Regards >> Sonam >> >> EXAMPLE >> ----------------------------------------------- >> To: example@example.com >> Subject: xyz >> Content-Type: multipart/mixed; boundary=3D"-----7D81B75CCC90D2974F7A1CBD= " >> Date: 16 Mar 2011 19:28:00 +1100 >> >> This is a multi-part message in MIME format. >> -------7D81B75CCC90D2974F7A1CBD >> Content-Type: text/plain >> Content-Disposition: attachment; filename=3D"POC_PO_SUBMISSION.XML" >> >> ... >> >> >> -------7D81B75CCC90D2974F7A1CBD-- >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org