Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Contacts / November 2006

Tip: Looking for answers? Try searching our database.

Error in mail Attachment

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
safs - 08 Nov 2006 13:25 GMT
When i am trying to send mail My Attachment file look like file.bin can
any one say the ression

dim commnet,file1,Msg,attachment,f,f1
        comment=request.Form("comtxt")
        file1=request.Form ("Fileup")

        f1="http://www.icmsolutions.co.in/Attachment/whitepapper.pdf"

        Dim ObjSendMail

        Set ObjSendMail = CreateObject("CDO.Message")

        ObjSendMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'Send
the message using the network (SMTP over the network).'
        ObjSendMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/smtpserver")
="smtp.net4india.com"
        ObjSendMail.Configuration.Fields.Item
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
        ObjSendMail.Configuration.Fields.Update
        ObjSendMail.To = "sudhan.r@icmindia.com"
        ObjSendMail.AddAttachment file1
        ObjSendMail.Subject = "This is From Career Page in ICMSOLUTIONS"
        '****You have to give the Email id which exiest in the same Domain'
        ObjSendMail.From = "admin@icmsolutions.co.in"
        ObjSendMail.HtmlBody = HTML1
        ObjSendMail.Send
        set ObjSendMail= nothing
Brian Tillman - 08 Nov 2006 15:06 GMT
> When i am trying to send mail My Attachment file look like file.bin
> can any one say the ression
>
> dim commnet,file1,Msg,attachment,f,f1
> comment=request.Form("comtxt")
> file1=request.Form ("Fileup")

How is this an Outlook Contacts question?  Please ask programming questions
in the programming newsgroups.
news://msnews.microsoft.com/microsoft.public.outlook.program_vba is probably
the most appropriate.
Signature

Brian Tillman

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.