[keycloak-user] ERROR sending email with my companies SMTP server : Exception writing multipart

Stuart Auchterlonie stuarta at squashedfrog.net
Fri Nov 11 05:05:18 EST 2016


On 11/11/16 06:44, abhishek raghav wrote:
> Hi
> 
> I am facing a weird issue when i try sending emails from keycloak. I try
> digging the issue and figured out that when keycloak tries to template the
> email content in HTML formatat.
> I dont want to use the plain text body content in the email to go, so i
> removed the text folder itself from the email theme.
> 
> When i tried with google SMTP, everything works perfectly fine (even HTML
> content processes and can be sent).
> 
> *It says exception writing multi part.*
> 
> Can somebody help me, where is the problem.? Is it my companies SMTP not
> allowing it or should i prepare the content in a different manner. ?
> 

Do you have the error from the mail servers logs?

That can often be more informative than the error it presents back
via the SMTP conversation.


Regards
Stuart





More information about the keycloak-user mailing list