Skip to content

Commit 8c161c6

Browse files
author
Mohammed Bhatti
committed
Fixed error with outlook
1 parent cb24d87 commit 8c161c6

File tree

3 files changed

+31
-3
lines changed

3 files changed

+31
-3
lines changed

taskt/Core/Automation/Commands/OutlookEmail.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ namespace taskt.Core.Automation.Commands
1515
[Attributes.ClassAttributes.Description("This command allows you to send an email with outlook")]
1616
[Attributes.ClassAttributes.UsesDescription("Use this command when you want to send an email with your currenty logged in outlook account")]
1717
[Attributes.ClassAttributes.ImplementationDescription("")]
18-
public class EmailOutlook : ScriptCommand
18+
public class EmailOutlookCommand : ScriptCommand
1919
{
2020
[XmlAttribute]
2121
[Attributes.PropertyAttributes.PropertyDescription("Please indicate the Recipients of this email")]
@@ -45,7 +45,7 @@ public class EmailOutlook : ScriptCommand
4545
[Attributes.PropertyAttributes.Remarks("")]
4646
public string v_Body { get; set; }
4747

48-
public EmailOutlook()
48+
public EmailOutlookCommand()
4949
{
5050
this.CommandName = "EmailOutlook";
5151
this.SelectionName = "Send Outlook Email";

taskt/Core/Automation/Commands/ScriptCommand.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace taskt.Core.Automation.Commands
1111
[XmlInclude(typeof(SendAdvancedKeyStrokesCommand))]
1212
[XmlInclude(typeof(SendMouseMoveCommand))]
1313
[XmlInclude(typeof(PauseCommand))]
14-
[XmlInclude(typeof(EmailOutlook))]
14+
[XmlInclude(typeof(EmailOutlookCommand))]
1515
[XmlInclude(typeof(ActivateWindowCommand))]
1616
[XmlInclude(typeof(GetRegexMatchesCommand))]
1717
[XmlInclude(typeof(MoveWindowCommand))]

taskt/taskt.csproj

+28
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
<ItemGroup>
158158
<Compile Include="Core\ApplicationUpdate.cs" />
159159
<Compile Include="Core\ApplicationSettings.cs" />
160+
<Compile Include="Core\Automation\Commands\OutlookEmail.cs" />
160161
<Compile Include="Core\Automation\Commands\GetRegexMatchesCommand.cs" />
161162
<Compile Include="Core\Automation\Commands\GetDictionaryValueCommand.cs" />
162163
<Compile Include="Core\Automation\Commands\AddDataRowCommand.cs" />
@@ -640,6 +641,24 @@
640641
<WrapperTool>aximp</WrapperTool>
641642
<Isolated>False</Isolated>
642643
</COMReference>
644+
<COMReference Include="Microsoft.Office.Core">
645+
<Guid>{2DF8D04C-5BFA-101B-BDE5-00AA0044DE52}</Guid>
646+
<VersionMajor>2</VersionMajor>
647+
<VersionMinor>8</VersionMinor>
648+
<Lcid>0</Lcid>
649+
<WrapperTool>tlbimp</WrapperTool>
650+
<Isolated>False</Isolated>
651+
<EmbedInteropTypes>True</EmbedInteropTypes>
652+
</COMReference>
653+
<COMReference Include="Microsoft.Office.Interop.Outlook">
654+
<Guid>{00062FFF-0000-0000-C000-000000000046}</Guid>
655+
<VersionMajor>9</VersionMajor>
656+
<VersionMinor>6</VersionMinor>
657+
<Lcid>0</Lcid>
658+
<WrapperTool>tlbimp</WrapperTool>
659+
<Isolated>False</Isolated>
660+
<EmbedInteropTypes>True</EmbedInteropTypes>
661+
</COMReference>
643662
<COMReference Include="MSDASC">
644663
<Guid>{2206CEB0-19C1-11D1-89E0-00C04FD7A829}</Guid>
645664
<VersionMajor>1</VersionMajor>
@@ -676,6 +695,15 @@
676695
<Isolated>False</Isolated>
677696
<EmbedInteropTypes>True</EmbedInteropTypes>
678697
</COMReference>
698+
<COMReference Include="stdole">
699+
<Guid>{00020430-0000-0000-C000-000000000046}</Guid>
700+
<VersionMajor>2</VersionMajor>
701+
<VersionMinor>0</VersionMinor>
702+
<Lcid>0</Lcid>
703+
<WrapperTool>primary</WrapperTool>
704+
<Isolated>False</Isolated>
705+
<EmbedInteropTypes>True</EmbedInteropTypes>
706+
</COMReference>
679707
</ItemGroup>
680708
<ItemGroup>
681709
<None Include="Resources\robot-bouncing.gif" />

0 commit comments

Comments
 (0)