[Vtigercrm-developers] RecurringInvoice Workflow custom function will not send email.

S T Prasad stprasad at stprasad.com
Thu Aug 30 02:30:16 GMT 2018


Hi Brock,

Thought you had this sorted out? Or was that a different issue?


With best regards,

S.T.Prasad (Skype: stprasad at stprasad.com)
Founder and Chief Shikari
http://www.vtigress.com
The Purr-fect mate for vTiger
Certified Solution Partner for Asia and Africa

On Thu, Aug 30, 2018 at 2:22 AM, brockTM <brock at telecommetric.com> wrote:

> Hello everyone,
>
> My goal is to build a custom function that will email each invoice to a
> client when they are created at the beginning of the month.
>
> The process should be pretty simple:
> 1. Create workflow that is triggered on Invoice creation.
> 2. Once triggered, invoke my custom function.
> 3. My custom function uses PHPMailer to send an email to each client with
> an
> invoice associated to them.
>
> Now, the tricky part is this: The emails will send if I manually create an
> invoice myself. But the emails will NOT send if the invoices are created
> via
> RecurringInvoice workflow. But I need the emails to send successfully when
> the invoices are created via RecurringInvoice workflow! What's the
> difference here? I'm pulling my hair out trying to come up with something.
> I
> receive an SMTP Connect failed error. But the only difference I can see is
> whether the Invoices are created via RecurringInvoice or manually.
>
> Has anyone had a similar issue?
> Or has anyone implemented functionality like this that they'd be willing to
> share/explain? It's crunch time over here.
>
> Thanks everyone, any help is appreciated at this point. If anyone needs
> more
> info, I'll be happy to provide it!
>
>
>
> --
> Sent from: http://vtiger-crm.2324883.n4.nabble.com/vtigercrm-
> developers-f4.html
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20180830/41d77119/attachment.html>


More information about the vtigercrm-developers mailing list