outlook-2010

Delete email from inbox and also delete it from deleted-items folder via rule->script

泄露秘密 提交于 2020-01-15 05:05:09
问题 I created a rule, that starts a VBA-script depending on the subject of a received email (Rule: Subject "MY_SUBJECT" -> start script). The VBA script is then doing some stuff and then it should finally delete the original email. This part is easy: Sub doWorkAndDeleteMail(Item As Outlook.MailItem) ' doSomething: ' delete email from inbox Item.Delete End Sub Now the email will sit in the deleted-items-folder. But what I need to achieve is, to also delete this mail from the deleted-items folder.

How do I get MS Outlook to accept the CSS style display:block?

陌路散爱 提交于 2020-01-12 11:43:51
问题 I am composing an HTML email using a service (MailChimp). The way that MailChimp marks up headings is to use a SPAN tag and gives the tag the inline style of display:block . MS Outlook 2010 ignores this style. I cannot find any work around. Thus, headings wrap, breaking the desired page display. Yes, I know that Outlook uses MS Word to display HTML. Assume that I cannot intervene and hand edit the markup. How do I get MS Outlook to accept the CSS style display:block and display a SPAN tag as

How do I get MS Outlook to accept the CSS style display:block?

梦想与她 提交于 2020-01-12 11:42:35
问题 I am composing an HTML email using a service (MailChimp). The way that MailChimp marks up headings is to use a SPAN tag and gives the tag the inline style of display:block . MS Outlook 2010 ignores this style. I cannot find any work around. Thus, headings wrap, breaking the desired page display. Yes, I know that Outlook uses MS Word to display HTML. Assume that I cannot intervene and hand edit the markup. How do I get MS Outlook to accept the CSS style display:block and display a SPAN tag as

How do I get MS Outlook to accept the CSS style display:block?

末鹿安然 提交于 2020-01-12 11:42:30
问题 I am composing an HTML email using a service (MailChimp). The way that MailChimp marks up headings is to use a SPAN tag and gives the tag the inline style of display:block . MS Outlook 2010 ignores this style. I cannot find any work around. Thus, headings wrap, breaking the desired page display. Yes, I know that Outlook uses MS Word to display HTML. Assume that I cannot intervene and hand edit the markup. How do I get MS Outlook to accept the CSS style display:block and display a SPAN tag as

How do I get MS Outlook to accept the CSS style display:block?

China☆狼群 提交于 2020-01-12 11:42:10
问题 I am composing an HTML email using a service (MailChimp). The way that MailChimp marks up headings is to use a SPAN tag and gives the tag the inline style of display:block . MS Outlook 2010 ignores this style. I cannot find any work around. Thus, headings wrap, breaking the desired page display. Yes, I know that Outlook uses MS Word to display HTML. Assume that I cannot intervene and hand edit the markup. How do I get MS Outlook to accept the CSS style display:block and display a SPAN tag as

Email newsletter rendering issues in Outlook 2010

僤鯓⒐⒋嵵緔 提交于 2020-01-06 08:34:25
问题 These are probably some silly questions/errors but I really go cross-eyed with html emails and I'm at the end of my tether, so I wondered if I could run this past you. I'm having difficultly displaying an email I've created. The main offender is Outlook 2010, in which there are the following errors (I've labeled the text) - "TITLE TEXT HERE" and "MORE HERE" are forced onto the line beneath the logo - "images/my_logo_1.jpg" The top banner "images/img_row_1.jpg" should be the same width as the

Outlook run macro when mail arrives on a nondefault mailbox

两盒软妹~` 提交于 2020-01-05 04:24:06
问题 I have multiple mailboxes set-up in my Outlook 2010. I would like a macro to run when I receive a mail on one of the non-default mailboxes. I have coded the below and inserted the code into "ThisOutlookSession" . I have gotten it to work for the default mailbox's inbox but not my nondefault mailbox's inbox. When I try to re-open outlook 2010 having inserted the code, It tells me : "Compile error in hidden module: ThisOutlookSession". The non-default box is called 'abc.asia'. I am new to vba

How do you specify a flagged item in Outlook with Excel VBA?

我与影子孤独终老i 提交于 2020-01-05 03:35:22
问题 I'm trying to get a count of how many emails are in my Outlook folders. The problem is that it is counting the "Flagged" items and I need the code to skip any item that is "Flagged". I've tried using the "olNoFlag" property on line 18 of the below code but it won't work. Can anyone help me with this? I'm so close! Sub LoopFoldersInNoctalkSW() Dim ns As Object Dim objFolder As Object Dim objSubfolder As Object Dim lngCounter As Long Dim olNoFlag As Object Set ns = GetObject("", "Outlook

How do you specify a flagged item in Outlook with Excel VBA?

拜拜、爱过 提交于 2020-01-05 03:34:32
问题 I'm trying to get a count of how many emails are in my Outlook folders. The problem is that it is counting the "Flagged" items and I need the code to skip any item that is "Flagged". I've tried using the "olNoFlag" property on line 18 of the below code but it won't work. Can anyone help me with this? I'm so close! Sub LoopFoldersInNoctalkSW() Dim ns As Object Dim objFolder As Object Dim objSubfolder As Object Dim lngCounter As Long Dim olNoFlag As Object Set ns = GetObject("", "Outlook

How can I tell when Rules have finished processing?

杀马特。学长 韩版系。学妹 提交于 2020-01-04 09:25:38
问题 I'm trying to find a way to trigger a VBA sub once, at the end of Outlook Rule processing. I'm currently using SyncEnd events , but this doesn't seem to work properly when first starting Outlook (the SyncEnd fires before Rules are run on the entire inbox, and mail items are not yet present in the folders where my function expects them to be). Is a way to capture a "rules processing completed" event? 回答1: All Outlook events are well documented within the VBE. Just press F2 to go into the