Jump to content

Email API specify Email Address?


Recommended Posts

Hi,

 

Looking at the API documentation (http://docs.whmcs.com/API:Send_Email) there does not appear to be a way to specify the email address, i am creating a feature that allows anonymous users to essentially fill in a form and submit it at which point i would like to use the WHMCS API to send an email to the email address they entered. Is there any way to achieve this using the default email API?

 

Also while i am on the subject of emails, i have found an email log specific to registered users but is there any global email log to find all emails that have been sent?

 

Disclaimer: im new to WHMCS & php...

Link to comment
Share on other sites

there does not appear to be a way to specify the email address, i am creating a feature that allows anonymous users to essentially fill in a form and submit it at which point i would like to use the WHMCS API to send an email to the email address they entered. Is there any way to achieve this using the default email API?

 

Also while i am on the subject of emails, i have found an email log specific to registered users but is there any global email log to find all emails that have been sent?

 

The page you link to specifies the purpose to be: This command is used to send an email to a customer.

 

If you wish to create a webpage with a form for anonymous users to send email to others, you will need to code such a page. Just be prepared for all the spammers to find your page which will then get your server blacklisted.

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