The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
If you want to stay informed about news about QF-Test, you can simply subscribe to our newsletter:
Subscribe to Newsletter
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [QF-Test] (SUP-362) How to send email with an attachment.
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
|
1. Functional cookies
We use functional cookies to ensure the basic functionality of the website.
2. Performance and statistic cookies
We use Matomo for analyzing and optimizing our website. Cookies permit an anonymous collection of information that help us offering you a clear and user-friendly visit of our web pages.
This cookie contains a unique, pseudonymized visitor ID internal to Matomo for recognizing returning visitors.
This cookie is used to track from which website the anonymized user proceeded to our website.
The Matomo session cookie is used to track the visitor's page requests during the session.
is created and should be then directly deleted (used to check whether the visitor’s browser supports cookies).
short lived cookies used to temporarily store data for the visit.
short lived cookies used to temporarily store data for the visit.