hi,

i am abld to attatch a gif file to mms and save it in my draft folder using this code

iSendAs=CSendAs::NewL(*this);
iSendAs->SetMtmL( KUidMsgTypeMultimedia);
CreateMessageL(KMsvGlobalOutBoxIndexEntryId)
iSendAs->CreateMessageL(/*KMsvGlobalOutBoxIndexEntryId*/);
TFileName attachmentFile( _L("c:\\nokia\\Images\\a.jpg") );

TMsvId attachId;
TParse dest;
TFileName directory;
CDesCArrayFlat* attachments = new (ELeave) CDesCArrayFlat(4);
CleanupStack::PushL(attachments);
attachments->AppendL(attachmentFile);
CleanupStack::Pop(attachments);

// Create the attachment entry
iSendAs->CreateAttachmentL(attachId, directory);
const TDesC& attachment = attachments->MdcaPoint(0);
dest.Set(directory, &attachment, NULL);
User::LeaveIfError(EikFileUtils::CopyFile(attachment, dest.FullName()));
// Make the attachment visible in the UI
iSendAs->SetAttachmentL(attachId, dest.NameAndExt());
iSendAs->SaveMessageL(ETrue);

but how can i send it. i don't want to use dialog box to get receipent phone number.

any help....

thanks
sunny