I apologize.
So once you have created the RUN button at the bottom where I can write code, I need to enter the following code:
/ **
- Send an email with attachment
- /
// Email parameters
$ mail_smtp_server = ‘smtp.example.com’; // SMTP server name or IP address
$ mail_smtp_user = ‘login’; // SMTP username
$ mail_smtp_pass = ‘password’; // SMTP password
$ mail_from = ‘me@example.com’; // From email
$ mail_to = ‘you@example.com’; // To email
$ mail_subject = ‘Test message’; // Message subject
$ mail_message = ‘This is a test message.’; // Message body
$ mail_format = ‘T’; // Message format: (T) or ext (H) tml
$ mail_attachments = array (// List of attached files (located on the web server)
‘/path_to_file/attached_file.txt’
);
// Send email
sc_mail_send ($ mail_smtp_server,
$ mail_smtp_user,
$ mail_smtp_pass,
$ mail_from,
$ mail_to,
$ mail_subject,
$ mail_message,
$ mail_format,
‘’,
‘’,
‘’,
‘’,
$ mail_attachments);