![]() |
![]() |
We are currently migrating this forum over to our HelpSystems domain. Please post all new threads in our new HelpSystems Community Portal. |
![]() |
|
![]() |
AutoMate Discussion | ![]() |
help :
faq :
home
|
||
Latest News:
|
latest topics : statistics |
Topic Title: Send eml files via email Topic Summary: Is it possible. Created On: 05/28/2015 04:54 PM Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Leonard, Thanks for the response. I have decided to write the attachments out seperatly as well as the EML. Then I can use the SendMail function to send an email that looks like the EML and archive the source incase it needs to be resent. I cannot attach the EML files as some clients parse the attachments. Thanks Phillip. | ||||||||||
![]() |
||||||||||
I have a legacy system that creates all emails to EML files. These may have attachments. Can I pick these files up and send them as is?
CHeers Phillip
|
||||||||||
|
||||||||||
![]() |
||||||||||
Hello Phillip,
Are you attempting to use the 'Get E-mail' action to retrieve existing mail from your server? OR Are you attempting to use the 'Send E-mail' action to send 'new' emails that contain the external *.EML file as an attachment?
------------------------- ![]() Valentineo McGowan | Technical Consultant AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1 213.738.6966 | F: +1.213.738.7665 |
||||||||||
|
||||||||||
![]() |
||||||||||
Valentineo, Neither. Our legacy system writes the emails as flat files with an eml extention, which outlook recognises as an email. (I have included a sample of the VB6 code) It then picks them up and, using VB6 sends them using ASPEMAILLib.dll, a thirsd party email library. I am trying to move the creation and sending across to Automate. I have got the writing completed, which includes 2 embedded attachments, so when you double click the email they open in outlook and you can view the attachments. Now I need automate to pick up these, essentially saved, emails from the file system and send them using the embedded details. It needs to be done in this way as the users of the VB6 application can view the contents of the emails and resend them if necessary. I have attached a sample of the eml file, of a dummy client, so you can view the content. I have to change the extention to .txt as the forum will not allow .eml
Cheers Phillip
Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder) |
||||||||||
|
||||||||||
![]() |
||||||||||
Hello Phillip,
When you say these *.EML files are to be picked up from the file system do you mean from somewhere within your network, as in a shared drive? Once the files are created do you need to simply copy/move them to another location within your network OR are they being transferred outside to a vendor? You may use the Copy/Move File action(s) if internal.
------------------------- ![]() Valentineo McGowan | Technical Consultant AutoMate | Division of HelpSystems HelpSystems, LLC | T: +1 213.738.6966 | F: +1.213.738.7665 |
||||||||||
|
||||||||||
![]() |
||||||||||
Valentino, The files are written to a local folder. The legacy process picks up the file and passes it to the SMTP server. Since the file has all of the messaging header the SMTP server sends it as it would any other composed email. The email is then archived on a network fileshare so it can be viewed by system users later. I have created an autoamte job that creates the file, now I need to pass the file to the SMTP server. I was wonding if the Send Email function and pick up a saved email and resend it as that is essentially what we are doing, or if I have to write a script that picks up the files and sends them to the SMTP server.
|
||||||||||
|
||||||||||
![]() |
||||||||||
Phillip,
AutoMate does not process .eml files in the way that you are looking for but there are other scenarios: 1. AutoMate can send the .eml as an attachment using the Send Email action. You can parse the message header to determine the destination. The recipient can then open the .eml attachment which will contain the information and attachments. 2. AutoMate can execute the VB script as you currently do manually to process the .eml files as you intended. 3. AutoMate can open the .eml file in Outlook and then you can use the interactivity actions to then forward or reply to the opened email.
------------------------- ![]() Leonard Amabile | Director, Cross Platform Support AutoMate | InterMapper | Skybot | Divisions of HelpSystems T: +1.213.738.1700 | F: +1.213.738.7665 |
||||||||||
|
||||||||||
![]() |
||||||||||
Leonard, Thanks for the response. I have decided to write the attachments out seperatly as well as the EML. Then I can use the SendMail function to send an email that looks like the EML and archive the source incase it needs to be resent. I cannot attach the EML files as some clients parse the attachments. Thanks Phillip.
|
||||||||||
|
AutoMate Discussion
» AUTOMATE » AutoMate 7
»
Send eml files via email
|
![]() |
FuseTalk Enterprise Edition v4.0 - © 1999-2021 FuseTalk Inc. All rights reserved.