Sp0tteh Posted April 12, 2012 Share Posted April 12, 2012 When using the hook "EmailPreSend" with sending a quote email via the admin area. The relid is returning "1" all the time, my client ID is 6 and the Quote ID is 1110. So not sure where the 1 is coming from? Should be 1110 as i understand it. Array ( [messagename] => Quote Delivery with PDF [relid] => 1 ) From the documentation: http://docs.whmcs.com/Hooks:EmailPreSend $relid = $vars['relid']; # Related ID it's being sent for - client ID, invoice ID, etc... Regards, Jason 0 Quote Link to comment Share on other sites More sharing options...
WHMCS CEO Matt Posted May 10, 2012 WHMCS CEO Share Posted May 10, 2012 Hi Jason, As per my previous post to you in another thread, the quote emails work differently to all the others due to quotes not always belonging to clients. So in the case of quote related emails you will always receive a relid of 1. Matt 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.