PDA

View Full Version : Fixing 'Invalid argument passed to function' error in the Send Mail action


kinook
08-28-2013, 05:32 AM
After upgrading to Visual Build v8 or later, you may encounter the error 'Invalid argument passed to function' when building a Send Mail step.

To correct the problem, either clear out or enter a valid email address format (for instance, x@y.com or "Visual Build" <noreply@mydomain.com>) in the From field on the Message tab. In older versions, the mail component allowed a name-only From value (for instance, Visual Build), but it doesn't allow that in newer versions (presumably to be more compliant with RFC-2822 (http://tools.ietf.org/html/rfc2822#section-3.4)).