x

File attachment in sp_send_dbmail

Can we attach a file which is stored as base64 string in a table column directly into sp_send_dbmail without using Server Path method ?

more ▼

asked May 03 at 07:53 AM in Default

avatar image

mmrama
1

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

I don't believe you can attach a string as an actual file attachment within the email. You could however just append it to the body of the message since it's a string.

more ▼

answered May 03 at 12:53 PM

avatar image

JohnM
14.2k 3 7 14

(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.

Topics:

x25
x7

asked: May 03 at 07:53 AM

Seen: 49 times

Last Updated: May 03 at 12:53 PM

Copyright 2017 Redgate Software. Privacy Policy