Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 3846 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

is the a way to get the information of the last email i sent for example

 

Set Variable [ $result =
    EmailRegister("myLicenseKey"; "My Company") and
    EmailConnectSMTP( "mail.example.com" ) and
    EmailCreate( Email::from ; Email::to ; Email::subject ) and
    EmailSetBody( Email::body ; "plain" ) and
    EmailAttachFile( $attachment ) and
    EmailSend and
    EmailDisconnect
]

   Once i send it i want to get the body time and time it was sent and set it to regular field

   New record Request

   Set Field ( Time )

   Set Field ( Date )

   Set Field ( Body )

Posted

If that's part of a script, then it's fairly easy...

 

First, check the email was sent by testing $result, if OK then

 

Set Field [Table::TimeSent; Get(CurrentTime)]

Set Field [Table::DateSent; Get(CurrentDate)]

Set Field [Table::MessageBody; Email::body]

This topic is 3846 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.