Jump to content

WHMCS SendEmail to someone non registered email address to our site


jayminzap

Recommended Posts

Hello,
I know what this method does:

$mail = sendMessage("Share Document", $id, ['share' => $share]);

 

Where 1st paramter is email template name , second is ID to which we want to send and third are custom parameters values.

 

I have question is there any way where we can send email to someone who is not registered on our site.

Like I tried giving this:

$mail = sendMessage("Share Document", ''xyz@gmail.com', ['share' => $share]);

But it didn't allowed me to send.

 

Any possible solution to this?

 

TIA

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated