so far when i've sent images in mail via PHP i sent a HTMl with the img tag. now what i want is that instead of embedding the image in mail i want it to go as an attachment. just like a normal text file attachment wud be sent. can any one help me with that?
you probable have under your headers ->
Content-Disposition : inline;
this should be Content-Disposition : attachment
not a great expert in mailing but maybe that helps.