You need to sign in to do that
Don't have an account?
TechEd_Programmer
Creating e-mail messaging need direction please
All -
I am creating an email messaging service and I understand how to do it with text in the body, however this specific e-mail is being sent with XML format in the body. Does anyone know the best way to indicate the next line for this type of format? I understand the code for next line etc...but this one is new to me. Any assistance would help.
Hi,
You can create a String with HTML body using <br/> for next line. And while sending email use function mail.sethtmlbody(str). Please let me know if this solves your problem.
This is actually for receiving. How would this look in that instance?
Hi,
Have you tried printing the body using System.debug(body); With this you can check what's coming in the body?