question

mandara avatar image
mandara asked

xp_sendmail: Procedure expects parameter @user, which was not supplied.

xp_sendmail: Procedure expects parameter @user, which was not supplied. I am using SQL 2000. When is use XP_sendmail @recipients=' aaa.com' ,@subject = 'onetwthree' , i get message as xp_sendmail: Procedure expects parameter @user which was not supplied. Pls tell me steps to confirm whether SQL mail is configured on my server. Tell me steps to see confirm whether SQL mail is configured on my server.
sql-server-2000sql-email
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Fatherjack avatar image
Fatherjack answered
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

WilliamD avatar image
WilliamD answered
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

aRookieBIdev avatar image
aRookieBIdev answered
If user is not specified, the security context defaults to that of the user running xp_sendmail. Are u using windows authentication or Sql Server Authentication. Try executing in windows authentication. I know this is dumb but pls also make double sure that you have enable xp_sendmail in the sql server. Thanks, Kannan
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.