A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Contacts
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Error in mail Attachment



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 8th 06, 02:25 PM posted to microsoft.public.outlook.contacts
safs
external usenet poster
 
Posts: 17
Default Error in mail Attachment

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 = "
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 = "
ObjSendMail.HtmlBody = HTML1
ObjSendMail.Send
set ObjSendMail= nothing

  #2  
Old November 8th 06, 04:06 PM posted to microsoft.public.outlook.contacts
Brian Tillman
external usenet poster
 
Posts: 17,452
Default Error in mail Attachment

safs wrote:

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/microsof...ok.program_vba is probably
the most appropriate.
--
Brian Tillman

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening up a word attachment error message Peter McCaul Outlook - General Queries 1 October 6th 06 02:21 PM
Attachment Error Message within Outlook Zam786 Outlook and VBA 1 August 29th 06 03:10 PM
e-mail attachment message Julie Lindblad Outlook Express 6 July 21st 06 06:44 PM
Operation failed error when opening attachment Paul Tugwell Outlook - General Queries 1 May 5th 06 08:01 PM
Forward e-mail as an attachment dthmtlgod Outlook and VBA 1 January 25th 06 05:38 PM


All times are GMT +1. The time now is 11:43 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.