[[20240705141839]] 『マクロでthunderbirdのメール作成をしたい』(ぱぱ) ページの最後に飛ぶ

[ 初めての方へ | 一覧(最新更新順) | 全文検索 | 過去ログ ]

 

『マクロでthunderbirdのメール作成をしたい』(ぱぱ)

お世話になります。

現在マクロで、thunderbirdのメーラーにて複数のメール作成をしたく。
thunderbirdの起動や、宛先、件名などの設定はわかったのですが、

現在thunderbirdにはメインのほかに複数のアカウントが作成されており、
指定したアカウントが差出人となるようにしたいのですが、
方法が分かりません。
お力添えいただけたらと思います

< 使用 Excel:Excel2019、使用 OS:Windows11 >


>指定したアカウントが差出人となるようにしたい
thunderbird のヘルプを参照しましょう。
(0toy) 2024/07/05(金) 15:57:43

https://support.mozilla.org/ja/questions/1262959

起動オプションでアカウント指定できないでしょうか?

Attachment = Attachment1 + "," + Attachment2 + "," + Attachment3 + "," + Attachment4

Thund = "C:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe" & _

       " -compose " & """" & _
       "from='" & SendFrom & "'," & _
       "to='" & email & "'," & _
       "cc='" & CC & "'," & _
       "attachment='" & Attachment & "'," & _
       "bcc='" & bcc & "'," & _
       "subject='" & Subject & "'," & _
       "body='" & EmailBody & "'," & """"
Call Shell(Thund, vbNormalFocus)
For counter1 = 1 To 10000
Next
'Application.Wait (Now + TimeValue("0:00:03"))
SendKeys "^{ENTER}", True

上記では"from='" & SendFrom & "',"
(ゆたか) 2024/07/05(金) 16:00:14


コメント返信:

[ 一覧(最新更新順) ]


YukiWiki 1.6.7 Copyright (C) 2000,2001 by Hiroshi Yuki. Modified by kazu.