List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie aber über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren
Newsletter abonnieren

Um aktuell die Informationen zu jeder Release - auch Minor Releases - zu bekommen, können Sie den
RSS-Feed abonnieren oder uns in sozialen Medien folgen.
Alternativ bietet QF-Test auch selbst eine Versionsinformation an.

Eine weitere Informationsquelle ist unser Blog, in dem es aktuelle Beiträge zu allgemeinen Themen, zur Firma QFS und auch diverse "How-Tos" gibt:
Blog abonnieren


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] (SUP-362) How to send email with an attachment.


  • Subject: Re: [QF-Test] (SUP-362) How to send email with an attachment.
  • From: "Plamen Veselinov, QFS Support" <support@?.de>
  • Date: Mon, 20 Jun 2016 17:31:33 +0200

Dear Sadiku,

I could see only one error in the Script.
In the 'if asHtml' you should use 'add() ' instead of new creation of
the variable 'msg':

if asHtml:
    msg.attach(MIMEText("text","html"))
else:
    msg.attach(MIMEText("text","plain"))


If you do not explicitly need to attach binaries you can safely use the
MIMEText also for the attached file.

Best Regards,
Plamen Veselinov, QFS Support

On 6/18/2016 16:48, Sadiku, Adetola wrote:
Hello,

Can someone please assist me with a working script or directions that
will allow the QFTest sendEmail script to include an attachment.

I have done some research and tried to modify the jython script for the
sendEmail_SMTPHost procedure but getting errors. It will be nice if
there is an easier way to do this without needing to write code.



Please find attached my edited jython server script.





*Thank you,*

*Tola Sadiku, MSC, CSM | Quality Assurance Analyst*

*/Certified Scrum Master/*//

AmeriPride Services

10801 Wayzata Boulevard, Minnetonka

Minnesota, MN 55305

O: 952-738-3232

F: 952-738-3158

tola.sadiku@?.com <mailto:tola.sadiku@?.com>

www.ameripride.com <http://www.ameripride.com/>

*/People You Can Count On/*

*_Click here to submit a ticket!
<http://intranet.corp.ameripride.com/Special-pages/TAC-Ticket.aspx>_*



___________________________________________________________________________________________________

"Good manners will open doors that the best education cannot” – Clarence
Thomas




--
_______________________________________________________________

Get the most out of QF-Test - Support directly from the authors
* Training & consulting: www.qfs.de/en/qftest/training.html
* Phone & email support: www.qfs.de/en/qftest/support.html
_______________________________________________________________

Plamen Veselinov
Development & Support

E: support@?.de
T: +49 8171 38648-21
F: +49 8171 38648-16

Quality First Software GmbH | www.qfs.de
Tulpenstr. 41 | 82538 Geretsried | Germany
GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer
HRB München 140833