This shows you the differences between two versions of the page.
public:howto:tmimepart [2007/11/30 14:30] 127.0.0.1 external edit |
public:howto:tmimepart [2008/04/01 11:55] (current) geby |
||
---|---|---|---|
Line 41: | Line 41: | ||
m.EncodeMessage; | m.EncodeMessage; | ||
memo1.lines.assign(m.lines); | memo1.lines.assign(m.lines); | ||
+ | //if you wish to send it by SMTP too, then: | ||
+ | SendToRaw('youraddress@somewhere.com', 'You@somewhere.com', 'your.smtp.server.com', m.lines, 'yourusername', 'yourpassword'); | ||
finally | finally | ||
m.free; | m.free; |