@emailfrom pulls from @@ServerName and tries to append that with '<" and tries to replace the '' from the instance name with "_" and then appends that with @domainname which wasn't even set correct for my server anyhow.
I just manually went to the line of code that sends the email and manually inputted the email address from as it was sending from servername<servername@example.com which was way off and unable to send mail!
Probably best if this was declared as an assignable variable instead of code trying to set it.
@emailfrom pulls from @@ServerName and tries to append that with '<" and tries to replace the '' from the instance name with "_" and then appends that with @domainname which wasn't even set correct for my server anyhow.
I just manually went to the line of code that sends the email and manually inputted the email address from as it was sending from servername<servername@example.com which was way off and unable to send mail!
Probably best if this was declared as an assignable variable instead of code trying to set it.