What happens when you print the original text from err.Error() ?
Hi,I am using this code:err := smtp.SendMail(smtpHostPort,auth,sender,[]string{recipient},[]byte(message),)if err != nil {log.Printf("sendSmtp: failure: %q", strings.Split(err.Error(), "\n"))}However the multiline error response seems truncated:2013/02/06 11:54:41 sendSmtp: failure: ["530 5.5.1 Authentication Required. Learn more at"]How can I get the full multiline error response?Thanks,Everton--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.