3 posts in this topic
We can send mails using SMTP settings in AutoIT.
But is there anyway to read the mails and start the program if we get the mail with the particular subject.
I mean, I have automated a build process and it starts from windows task scheduler my autoit program at morning 3 AM.
If it fails in the middle, it will be sent to the dev team guys with the logs as attachment.
Then I am connecting manually to the remote machine to trigger the task again.
Is there anyway to start this task once I receive a mail with the specific subject like "start the build" automatically.
Is there any way to launch an application once I receive an email.
I have an executable created in autoit and I am running it regularly on daily basis using task scheduler on windows.
And sometimes I am running it again manually if someone asks to.
Is there anyway to configure an email so that when I send a mail to that particular email ID then it should launch that exe directly?
Through below script I am able to send mail with the Outlook installed in my machine.
But I am getting below prompt whenever I ran this script,by Outlook.
Can anyone suggest how to suppress this.
#include <MsgBoxConstants.au3> ; Counting the number of open shell windows Local $oShell = ObjCreate("Outlook.Application") ; Get the Windows Shell Object If IsObj($oShell) Then $Mail = $oShell.CreateItem(0) $Mail.To = "firstname.lastname@example.org" $Mail.Subject = "Action" $Mail.Body ="Pay rise please" $Mail.Send() EndIf
I'm using the code below to send mails using our internal relay server.
We got a Helpdesk system named Remedy. Our users can send us a mails using outlook 2010, and we'll get a ticket.
The problem is if I send a mail using the above script our ticket system can't display unicode characters, like ex: Æ Ø Å. It will display them as: questionmarks: "? ? ?" inside our ticket system. In the outlook inbox it looks fine showing unicode symbols, but in our ticket system the unicode characters will be replaced by questionmarks.
The thing is, if they send a mail using outlook, it works fine, but using the script above it doesen't.
I tried to save my script with encoding: UTF-8 with BOM, but it didn't fix it.
All suggestions are very welcome