Coder Social home page Coder Social logo

How to send an email about infusionsoft.net HOT 3 CLOSED

eventday avatar eventday commented on July 22, 2024
How to send an email

from infusionsoft.net.

Comments (3)

jhallam3 avatar jhallam3 commented on July 22, 2024

I've downloaded the most resent code from here, and it works HOWEVER.

It sends the email but the result that is returned is when it successfully sends the email is a False. NOT at true.

Any suggestions?

from infusionsoft.net.

trbngr avatar trbngr commented on July 22, 2024

The infusionsoft api is a moving target.

It would seem logical to send an email using the overload without the templateId (which seems to work but I didn't receive the email).

The overload with the templateId doesn't work using an int or a string.

To make things worse, SendTemplate doesn't work with an int or a string. And the docs say that TemplateID is a string but the example says it's an int.

Without Infusionsoft support, I'm afraid there's nothing I can do here.

from infusionsoft.net.

mfairch avatar mfairch commented on July 22, 2024

@jhallam3 @trbngr

In the example code provided, a templateId is being passed in, the sendEmail method (when not using a template) doesn't accept the templateId so it needs to be removed from that method.

Here are the parameters that are needed.

String key, List contactList, String fromAddress, String toAddress, String ccAddresses, 
String bccAddresses, String contentType, String subject, String htmlBody, String textBody

When using a template (which uses sendEmail, it's an overloaded method) you need these parameters.

String key, List contactList, Integer templateId

Let me know if this doesn't work for you.

from infusionsoft.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.