ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Accessing Message Editor Of Web Based Email (https://www.excelbanter.com/excel-programming/403999-accessing-message-editor-web-based-email.html)

musicgold[_3_]

Accessing Message Editor Of Web Based Email
 
Hi All,

I am trying to fill out my yahoo email's 'Compose email' Form using VBA. I
have a workbook with a list of email addresses and text messages to be send.
I am primarily using getElementsByTagName(), and able to open a new yahoo
page, log in, create a new email, populate the addressfields,and subject
field.

However, I am not able to write anything in the message editor ( the part
where we write the actual message). The following is a part of the HTML code
related to the message editor. Please suggest what I should do? Thanks. MG.

Code:


<div id="RTEContainer" style="position:relative;top=0px;left=0px;" width="100%
"
<textarea name="Body" id="bodyfield" style="display:none;"</textarea
<script type="text/javascript"

                var editor = new RTEEditor(idGenerator);
                    editor.SetLocation("ca");
                editor.SetIconVersion("1");
                        editor.SetFarmPath("
http://ca.f309.mail.yahoo.com/ym");
                    editor.SetSpellCheck(true);
                    editor.SetSpellCheckCB(SpellCheck_Click);
                    editor.Instantiate();
</script </div <input type=hidden name=Format id=Format value="html"



All times are GMT +1. The time now is 05:23 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com