1
Answer

C# Send Email with attach file

Manath Pathana

Manath Pathana

12y
3.5k
1
Dear All,

I have one problem. I want to create send email application. in this project, First step I want to create .pdf file that get data from TextBox, Second step I want attach it in the mail, then it can send to email when we click button Send only. Please give me the idea and source code.

Thank in advance,

Mala

Younger C#

Answers (1)
0
Kirtan Patel

Kirtan Patel

NA 35k 2.8m 15y
its not recommended to change size in % it may not work on every controls becuase Asp.net standard control only can have width in pixels :)

you can manage the size and Look and Feel of controls by

CSS+ Skin File feature to control all page Style manage From one place   .


if my answer helps you please check "Do you like this answer" :)


0
Anand Uchagawkar

Anand Uchagawkar

NA 2 0 15y
Hey dude,

there is no an easy way so that u can just change the width of all controls to % you will have to manually go on each form & adjust the pixel value according to the corresponding % value. Also just ctrl + h won't help
0
Dipa Ahuja

Dipa Ahuja

NA 4.1k 612.6k 15y
hi..

i also use % in my website first.. then i changed to pixel

bt according to me the pixel setting is better and more flexible than %


0
Pankaj Singh

Pankaj Singh

NA 69 0 15y

Hi,

Have you tried it? Do you know waht is the mean of it?

All the controls will spread out.

Pankaj
0
Gaurish Kumar

Gaurish Kumar

NA 912 0 15y
Hi

U can use find and replace.

press ctrl + h

and replace px to %

it will replace all.