Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
Saturday at 11:44 PM
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
My-PYTHON-path
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="hasawan" data-source="post: 24330120" data-attributes="member: 264596"><p>Sorry මචන්<img src="/styles/default/xenforo/smilies/default/sorry.gif" class="smilie" loading="lazy" alt=":sorry:" title="Sorry :sorry:" data-shortname=":sorry:" />, මට ඕන database table එකෙ තියන data ටික email body එකට table එකක් විදියට දාගන්න... code එකක් තියනවද?</p><p></p><p></p><p>මම දැනට use කරන code එක මේක... මට තේරෙන්නෙ නෑ කරන්නෙ කොහොමද කියලා...</p><p></p><p></p><p></p><p># Create the plain-text and HTML version of your message</p><p> text = """\</p><p> Hi,</p><p> How are you?</p><p> """</p><p> html = """\</p><p> <html></p><p> <body></p><p> <p>Hi,<br></p><p> How are you?<br></p><p> has many great tutorials.</p><p> </p></p><p> </body></p><p> </html></p><p> """</p><p> </p><p> # Turn these into plain/html MIMEText objects</p><p> part1 = MIMEText(text, "plain")</p><p> part2 = MIMEText(html, "html")</p><p> </p><p> # Add HTML/plain-text parts to MIMEMultipart message</p><p> # The email client will try to render the last part first</p><p> self.message.attach(part1)</p><p> self.message.attach(part2)</p></blockquote><p></p>
[QUOTE="hasawan, post: 24330120, member: 264596"] Sorry මචන්:sorry:, මට ඕන database table එකෙ තියන data ටික email body එකට table එකක් විදියට දාගන්න... code එකක් තියනවද? මම දැනට use කරන code එක මේක... මට තේරෙන්නෙ නෑ කරන්නෙ කොහොමද කියලා... # Create the plain-text and HTML version of your message text = """\ Hi, How are you? """ html = """\ <html> <body> <p>Hi,<br> How are you?<br> has many great tutorials. </p> </body> </html> """ # Turn these into plain/html MIMEText objects part1 = MIMEText(text, "plain") part2 = MIMEText(html, "html") # Add HTML/plain-text parts to MIMEMultipart message # The email client will try to render the last part first self.message.attach(part1) self.message.attach(part2) [/QUOTE]
Insert quotes…
Verification
Haya warak paha keeyada? (haya wadi kireema paha)
Post reply
Top
Bottom