[HELP] Sending Pictures

Posts 1–5 of 5 · Page 1 of 1
[HELP] Sending Pictures
how can i send picturebox1 by email
i could send everything else but picturebox
Quote Originally Posted by ViittO View Post
how can i send picturebox1 by email
i could send everything else but picturebox
Add it as an attachment, to do that you need to save picturebox1 as a file and then attach it. The code to save the picturebox1's image as a file is
Code:
 PictureBox1.Image.Save(Location Goes Here, System.Drawing.Imaging.ImageFormat.bmp)
Then where ever you save the file to, just attach the file to the email
is there a way to automatically send attachments??
yes

Code:
 If FileExists(FileName/Location) Then _
                 .Attachments.Add(FileName/Location)
If you are using SMTP that is.
^^its a winner!
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us