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
Puffin Rock Characters Plush Toy Set
anil1961
Updated:
Yesterday at 3:51 PM
Toyota Vitz scp10 For Sale
Lakmal Bandara
Updated:
Wednesday at 10:50 AM
Kandy
Welcome all my all new pet shop Bark.lk
dilumrane
Updated:
Monday at 12:26 PM
Windows RDP Only Rs.500 a month
Blogerwiki
Updated:
Nov 1, 2026
Ad icon
V2ray VPN for Tunneling
hu KANNA
Updated:
Oct 22, 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
Winadiyakata thappara keeyak tibeda?
Post reply
Top
Bottom