Error Sending email through Custom PHP Script
Summary
Failed: MailMessage::send failed: Application Error Description: default mailbox is not configured: 'from_address' is not set
Content (required):
I am getting the following error (the account used for initConnectAPI has the email address set)
See PHP code below
Failed: MailMessage::send failed: Application Error Description: default mailbox is not configured: 'from_address' is not set
Thanks!
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
try{
$to_email = "****@gmail.com";
$cc_email = "[email protected]";
$from_email = "[email protected]";
$subject="Testing OSC";
$html_body ="HTML content goes here";
Tagged:
0