Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Error Sending email through Custom PHP Script — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Error Sending email through Custom PHP Script

Accepted answer
24
Views
2
Comments

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";

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!