i'm working on a asp project. now, the customer required for a send email function. the email have a format include a image. and some variable need to display in the emial from the selected customer, something like address, name , email address, fee. i need to come out email editor like the yahoo one, i send the default format report in to the text box, then the user can modify it. and then user can select to print out the email or send the emailll. the print out email or sent to customer email must in the correct format. i'm no idea on how to do it. please someone help. thanks
What you need to do is create a textarea for them to edit the contents of the email (and you can add a wysiwyg editor) and then when they submit to send email you would send it. Which email component does your server support?
thanks for ur reply. now my project able to send email. which i hard coding the email content to txt box. then send. it's works. but problem is, that the txt box cannot format email content into different font size , and font color. the email should include header - bolder, sub title - under line. and right top with company logo. and the user also can modify the font size or color by self. just like the yaoo one or something like this forum reply to thread .. do you know how can i do that??
You should look at the open source text editor that you can use. FCKeditor is one that works good. I am using it in most of my projects now. Very easy to use. Just download the source code included into your project and you have now a webbase text editor.
The email needs be sent in HTML format. In order to allow the user to edit it you would need a control such as mentioned above, which displays to the user (bold, color etc.) but converts it to HTML which can then be sent as an email.
use javascript based html editor like tinymce etc... many of them are opensource. check this out: http://free-php-editor.com
thanks for help. now i'm using openWYSIWYG to edit the email. but when i sending the html format text to email. it's showing blank if i add <html><head> tag. else it's just showing the html tags in email. why it's cannot reading my html tags? please help. thanks a lot