Sponsored by
www.aspnetemail.com
|
 |
Discuss This FAQ Item
Got a question? Another Suggestion? Want to post your solution? Discuss it below.
-
Help
[ Reply ]
can anybody tell where (which file) to make the changes.
Rishabh [ r77_indian ( at ) yahoo dot com ],
2004-03-04 02:29:01
#
-
RE: Help
[ Reply ]
in your C# or VB.NET code file.
Cheers! Dave
dave wanta [ dave ( at ) 123aspx dot com ],
2004-03-04 05:37:48
#
-
RE RE: Help
[ Reply ]
When I was developing my windows app and specified the SMTP server in code I would get the 'Cannot access CDO message objet'. I found some online docs that said to use the smart host property in IIS SMTP virtual server. My app worked fine and still does for all users except one. Now that user is getting "the 'Send Using' Configuration value is invalid" exception. Have you heard of other resons for this exception being thrown and how to handle it? Thanks!
meghan [ kellym_33 ( at ) hotmail dot com ],
2004-03-25 10:16:53
#
-
RE: RE RE: Help
[ Reply ]
Hi, did you solve it?, i am having the same problem
In Need The Answer Too !! [ phra_tankian ( at ) hotmail dot com ],
2008-06-11 11:35:09
#
-
RE: Help
[ Reply ]
I have set the SmtpServer property to localhost, 127.0.0.1 and even the ip address my dsl provider gave to this machine but couldn't get rid of this error.
Babur Mansoor [ baburman ( at ) hotmail dot com ],
2004-03-31 00:38:08
#
-
RE RE: Help
[ Reply ]
I ran into the same thing you did. I tried setting the configuration properties, and got the error you did. If I removed the configuration stuff, I went back to the original "SendUsing" configuration value error.
Luckily, I stumbled upon a fix. I was moving a site from one Win2k3 server to another. It worked on the old one, but wasn't working on the new one. After comparing the SMTP settings between the two, I found a difference. When I set them up identically, the problem went away, without needing the configuration code.
Here's what I did:
* Go to the Internet Information Services manager, and right-click on Default SMTP Virtual Server; select Properties. This will give you a pop-up titled "Default SMTP Virtual Server Properties." * Go to the Security tab, and look at the list of operators. My working configuration has three entries:
- Administrators (the machine's local group) - NT AUTHORITY\LOCAL SERVICE - NT AUTHORITY\NETWORK SERVICE
If you don't have those last two lines, you will continue to get the error, regardless of what you do programmatically.
To add the last two: * Hit the Add button; you will get a pop-up titled "Select Users or Groups." * Hit the Object Types button; you will get a pop-up titled "Object Types." Make sure Users, Groups and Security Principals are checked, then hit OK. This takes you back to the "Select Users or Groups" pop-up. * Hit the Locations button; this will give you a pop-up titled "Locations." Select the machine name (not a domain) from the list, then hit OK. This will take you back to "Select Users or Groups." * Hit the Advanced button; this will bring up another, larger pop-up titled "Select Users or Groups." * In this new pop-up window, hit Find Now. It will show you a complete list of users, groups and internal security principals for the machine * Select LOCAL SERVICE and NETWORK SERVICE, then hit OK * You're back to the smaller "Select Users or Groups" pop-up. You should see LOCAL SERVICE and NETWORK SERVICE in the box. Hit OK * You're now back to the "Default SMTP Virtual Server Properties" window. You should now have all the necessary groups listed.
After doing this, I was able to get ASP to send e-mail from that server, without needing to mess with any SmtpMail.* stuff, at all.
Tony [ tmchesser ( at ) yahoo dot com ],
2004-08-11 07:51:52
#
-
RE RE: Help
[ Reply ]
Step 1 Use SmtpMail.SmtpServer = "localhost" in your code to get rid of This error: The "SendUsing" configuration value is invalid.
Step 2 Run inetmgr, then right click on "Default SMTP Virtual Server", then choose the Tab "Access", then click on "Relay..." button from "Relay restrictions", then choose "All except the list below" radio button and click OK. This will get rid of the relay error.
Have to follow both Step 1 and Step 2.
Thanks for all the help from this website and replies from everybody
Fai [ faiboy1 ( at ) hotmail dot com ],
2004-12-08 01:08:03
#
-
RE: RE RE: Help
[ Reply ]
This worked and got rid of that annoying error. However, doesn't it open up my machine for relay by anyone (e.g. spammers)?
Thx!
Johnnie Miami [ johnnie_miami ( at ) yahoo dot com ],
2005-08-02 09:24:02
#
-
RE RE: RE RE: Help
[ Reply ]
I actually changed this to use "Only the List Below" and added 127.0.0.1 and it worked great. Thanks again!
Johnnie Miami [ Johnnie_Miami ( at ) yahoo dot com ],
2005-08-02 10:01:43
#
-
RE: RE RE: RE RE: Help
[ Reply ]
In IIS6 for Win2003SVR I had this same problem with the error showing after submitting a form. Check to see if IIS5.0 Isolation Mode is unchecked. That fixed my problem.
Nate Sopkin [ nsopkin ( at ) whe dot org ],
2005-11-21 17:03:43
#
-
RE: RE RE: Help
[ Reply ]
After you set the "SmtpMail.SmtpServer" settings, make sure you set the Application Protection settings to low in IIS ( under IIS --> properties--> home directory ) This worked on Win XP Pro SP 2.
Vijay Karthik [ shell_script ( at ) hotmail dot com ],
2005-12-16 09:26:32
#
-
RE: Help
[ Reply ]
Hello,
I am using web mail server. It has SMTP configured on it. We have 3 sites on our server. Two of them are working ok with smtp.server=localhost and one is having problem with sending mail as " System.Runtime.InteropServices.COMException: The "SendUsing" configuration value is invalid. "
I tried using localhost and ip both... but was fail. Please let me know the reason.
Regards, Niraj
Niraj Ranka [ nirajranka ( at ) gmail dot com ],
2006-09-15 00:38:56
#
-
RE RE: Help
[ Reply ]
send email in asp.but create the error.please help me. CDO.Message.1 (0x80040220) The "SendUsing" configuration value is invalid.
Nites [ tnitesh28 ( at ) gmail dot com ],
2008-03-14 08:43:40
#
-
RE: Help
[ Reply ]
i am getting the error when i am creating a setup and execting it on a saperate pc? plz help me
siddhesh [ siddheshswt ( at ) gmail dot com ],
2007-01-15 02:29:51
#
-
RE: Help
[ Reply ]
Test Message
Amit [ amitranjan ( at ) siemens dot com ],
2010-01-21 21:31:30
#
-
filedialogbox
[ Reply ]
Hi I am facing some problem how can i create the instance of openFileDialogBox using C# i have writtenthis code private void Button1_Click(object sender, System.EventArgs e) { openFileDialog openFileDialog1=new openFileDialog(); if (this.openFileDialog1.ShowDialog() == DialogResult.OK) { TextBoxatt.Text = this.openFileDialog1.FileName; }
} plz send code immediate
sisira kumar sahu [ sisira_silicon2001 ( at ) yahoo dot co dot in ],
2004-05-23 06:40:04
#
-
filedialogbox
[ Reply ]
Hi I am facing some problem how can i create the instance of openFileDialogBox using C# i have writtenthis code private void Button1_Click(object sender, System.EventArgs e) { openFileDialog openFileDialog1=new openFileDialog(); if (this.openFileDialog1.ShowDialog() == DialogResult.OK) { TextBoxatt.Text = this.openFileDialog1.FileName; }
} plz send code immediate
sisira kumar sahu [ sisira_silicon2001 ( at ) yahoo dot co dot in ],
2004-05-23 06:52:08
#
-
Help with EMail Feedback form
[ Reply ]
Hi everybody, I have a feedback form to send an email message form my web site: the code is below:
private void SendMail() { MailMessage objEmail = new MailMessage(); objEmail.From= "abcl@abc.com"; objEMail.To = "aaa@aaa.ca";
...other parameters SmtpMail.SmtpServer = "smtp.whatever.ca"; SmtpMail.Send( objEMail); objEmail = null; }
if I use it with my ISP (with local smtp and local mailboxes)on my IIS everything is fine I can send the form without any problem. When I upload it to my host service (obviously modifying accordingly to the provided SMTP) ,an exception get thrown. The Hosting Service claims that is my code , but I cannot find anything wrong with it.( considering that works with my IIS).but I don't like to say that they are wrong until I am positive that I am not.
Can anybody help me please and give me more information on how to solve this problem?
thank you in advance for your help
Francesco [ zagor ( at ) sympatico dot ca ],
2004-09-14 06:11:42
#
-
RE: Help with EMail Feedback form
[ Reply ]
Sorry: To clarify the previous , the exception is: By debuggin it from the visual studio environment: ex.Message = "Could not access CDO.Message object"
when I actually upload to the host, with <customErrors mode="Off" /> in the web.config file, so the support of my hosting service can see the problem the error says : "Failed to connect to the server" etc.
Francesco [ zagor ( at ) syamptico dot ca ],
2004-09-14 06:16:40
#
-
RE: Help with EMail Feedback form
[ Reply ]
Hi Im sending mail in local without any problem on my smtpserver. But when i uploaded and sent the mail it showing error like this:"The "SendUsing" configuration value is invalid. " Exception Details: System.Runtime.InteropServices.COMException: The "SendUsing" configuration value is invalid.
I wrote the code like this: Dim objMailMessage As New System.Web.Mail.MailMessage objMailMessage.From = "admin@factorh.com" objMailMessage.Subject = "Sample" Dim strMailBody As String strMailBody ="Hi" MailMessage.Body = strMailBody objMailMessage.BodyFormat = MailFormat.Html
objMailMessage.To = "nagaraju@factorh.com" System.Web.Mail.SmtpMail.Send(bjMailMessage)
Nagaraju [ nagaraju ( at ) factorh dot com ],
2005-09-24 04:29:06
#
-
The server rejected one or more recipient addresses
[ Reply ]
Hi, I've tried the solution that u've provided and got the following error:
The server rejected one or more recipient addresses. The server response was: 550 5.7.1 Unable to relay for myemail@yahoo.com
Any idea wat's tat all abt?
silvertype [ silvertype03 ( at ) yahoo dot co dot uk ],
2004-10-05 21:10:13
#
-
SMTPMail.SmtpServer
[ Reply ]
Is it possible to bypass the local smtp server (running with IIS) and send directly to our in-house smtp gateway machine?
Currently we're using the smarthost setting to route to gateway, but wondered if we could eliminate this and code directly. If not, is this feature available in 3rd party products? Thanks
Mike Denny [ mdenny ( at ) savannahga dot gov ],
2004-11-18 08:14:53
#
-
RE: SMTPMail.SmtpServer
[ Reply ]
Description -------------- Error: “SendUsing Configuration Invalid” This happens because of the system-oriented dlls, which are needed for GPSMail API. System-oriented Dlls: - 1. CDOEX.DLL 2. CDOSYS.DLL 3. CDONTS.DLL The versions of these DLL’s are the following (Suggested for ASP) 1. CDOEX.DLL (6.0.4641.0) 2. CDOSYS.DLL (6.1.3940.3) 3. CDONTS.DLL (6.0.3940.15) Causes -------- 1. . NET framework 1.1 is installed 2. IIS Version. 3. Windows Update might have performed on that particular machine and the system-oriented dlls have been updated. 4. SMTP services are not running.
(Any of these or all of these can be the cause)
Workarounds ----------------
1. Check for the dll versions. Register the specified dlls. 2. In .NET environment register the 6.0.6249.1 version of CDOEX.dll (This will be available with the Service Pack 3 of Exchange Server 2000) 3. Reinstall IIS. 4. Make the Application protection field of Virtual directory tab to ‘Low (IIS Process)’ in the properties for the IIS Virtual directory.
Peeto [ peeto dot varghese ( at ) hp dot com ],
2004-12-09 00:52:31
#
-
RE RE: SMTPMail.SmtpServer
[ Reply ]
“SendUsing Configuration Invalid”: - Error in sending mails from .NET environment and ASP environment
Description Error: “SendUsing Configuration Invalid” This happens because of the system-oriented dlls, which are needed for GPSMail API. System-oriented Dlls: - 1. CDOEX.DLL 2. CDOSYS.DLL 3. CDONTS.DLL The versions of these DLL’s are the following (Suggested for ASP) 1. CDOEX.DLL (6.0.4641.0) 2. CDOSYS.DLL (6.1.3940.3) 3. CDONTS.DLL (6.0.3940.15) Causes 1. . NET framework 1.1 is installed 2. IIS Version. 3. Windows Update might have performed on that particular machine and the system-oriented dlls have been updated. 4. SMTP services are not running.
(Any of these or all of these can be the cause)
Workarounds
1. Check for the dll versions. Register the specified dlls. 2. In .NET environment register the 6.0.6249.1 version of CDOEX.dll (This will be available with the Service Pack 3 of Exchange Server 2000) 3. Reinstall IIS. 4. Make the Application protection field of Virtual directory tab to ‘Low (IIS Process)’ in the properties for the IIS Virtual directory. Picture 1: Property settings for GOT1 Virtual directory.
(Any of these or combinations of these shall give the solution) After each action you need to restart the IIS.
peeto [ peetopeeto ( at ) rediffmail dot com ],
2004-12-09 00:57:21
#
-
RE: RE RE: SMTPMail.SmtpServer
[ Reply ]
i'm getting a "The "SendUsing" configuration value is invalid. " error message...and my asp.net page is set to send an email through an exchange server.
I'm a newbie .NET web development, so i would i am kindly asking for a step by step walkthrough(if that is okay)...?
please let me know, i appreciate the help and would like to thank you in advance...
/Anthony
anthony [ lcaputo ( at ) gmail dot com ],
2005-01-05 11:43:35
#
-
RE RE: RE RE: SMTPMail.SmtpServer
[ Reply ]
Did you ever get a resolution to the CDO problem using exchange server. I have the same problem.
Thanks
Mark
Mark [ mark dot fisher ( at ) alldata dot net ],
2005-02-17 06:59:03
#
-
support
[ Reply ]
Hi iwas trying to sent an email from my application. i used the code as u mentioned. i was mentioning my smtp server as 127.0.0.1 Here when iam sending the message using smtpmail.send(message) the system is not responding.the progress bar is moving half the way and keeps idle can u please help me regarding this error
askar [ pvaskar1 ( at ) rediffmail dot com ],
2005-01-13 01:13:05
#
-
RE: support
[ Reply ]
The "SendUsing" configuration value is invalid. This is the error message that i am getting while sendin a message I am pasting the code below
MailMessage msg=new MailMessage (); StringWriter strwriter=new StringWriter (); HtmlTextWriter htmlwriter=new HtmlTextWriter (strwriter); htmlwriter .RenderBeginTag ("html"); htmlwriter .RenderBeginTag ("head"); htmlwriter .RenderBeginTag ("title"); htmlwriter.Write ("Thank You"); htmlwriter .RenderEndTag (); htmlwriter .RenderEndTag (); htmlwriter .RenderBeginTag ("body"); htmlwriter .Write(" This is your details for logging in to the website <br>Your <br>username :"+username+"<br>Password :"+password1+"<br> Thank You"); htmlwriter .RenderEndTag (); htmlwriter.RenderEndTag (); msg.From ="Intranet"; msg.To =email; msg.Subject ="For Got Password"; msg.Body =strwriter .ToString (); msg.BodyFormat =MailFormat.Html ; SmtpMail.Send(msg);
I am getting this error message in the last lline of the mentioned code
Danapal [ danapalp ( at ) ho dot netaccess-indi dot com ],
2005-03-28 02:47:11
#
-
The "SendUsing" configuration value is invalid.
[ Reply ]
Hi There
I have a problem sending email in my SMTP server. Firstly, I used ASP code to send email that is OK. After that, I used WSF code to send email again. It is still OK. but when I go back to use ASP code to send email. It is not ok and the error message like this: Error Type: CDO.Message.1 (0x80040220) The "SendUsing" configuration value is invalid. /EmailTesting/emailtesting.asp, line 28
P.S. Using WSF code send email still OK.
I am seeking your help
Thanks
Jeff [ jeffreylam ( at ) bschk dot com ],
2005-02-28 20:46:30
#
-
RE: The "SendUsing" configuration value is invalid.
[ Reply ]
Below i have give my code. This code id working without any errors. But i cann't get result from this code. I send mail with attachment but mail not recivieve by i given e-mail address. Please give me your replay quickly please. Thank You.
Dim attach1 As String = "" Dim strfilename As String = "" Dim ulFile As HttpPostedFile = txtFile.PostedFile Dim mail As New MailMessage() Dim nFileLen As Int64 = ulFile.ContentLength If (nFileLen > 0) Then mail.From = TextBox2.Text mail.To = TextBox3.Text mail.Cc = txtcc.Text mail.Bcc = txtbcc.Text mail.Subject = TextBox4.Text mail.Body = txtMsg.Text mail.BodyFormat = MailFormat.Html Dim strdir As String = "c:\\" strfilename = Path.GetFileName(txtFile.PostedFile.FileName) Dim strFileName1 As String = "Uploads/" + strfilename txtFile.PostedFile.SaveAs(Server.MapPath(strFileName1)) Dim attach As MailAttachment = New MailAttachment(Server.MapPath(strFileName1)) mail.Attachments.Add(attach) attach1 = strFileName1 Else errors.Visible = True errors.Text = "Please add your attachment." Exit Sub End If SmtpMail.SmtpServer = "127.0.01" SmtpMail.Send(mail)
File.Delete(Server.MapPath(attach1)) errors.Visible = True errors.Text = "Mail has been sent"
Yogesh [ yogesh_networld ( at ) yahoo dot co dot in ],
2006-01-25 00:42:18
#
-
RE: The "SendUsing" configuration value is invalid.
[ Reply ]
This is a very good example of why reading solutions to code problems is so frustrating.
SmtpMail.SmtpServer = "mail.your-domain.com" where is this statement supposed to be written? In web.config? On a code behind page? I need the context of where this statement should be.
Then it says " if you are using the local SMTP...." Are you talking about the ISP as the local? or are you talking about on my own computer where I am creating the code?
127.0.0.1 - Will this physical address work on my ISP or are you trying to say I should use the ISP's physical address?
The machine name here. Is this my ISP's machine name?
The real dns name here. What does dns stand for?
The machine IP Address here. Is this the ISP address? If so why the 127.0.0.1 address?
It is very frustrating to constantly see how to do something and not understand what they mean.
mhh12 [ mhh12 ( at ) windstream dot net ],
2010-03-10 13:47:32
#
-
The "SendUsing" configuration value is invalid.
[ Reply ]
Hi I have tried many of the solutions but there is still error, please help:
My code: =============== <% Sub SendMail(strFrom, strTo, strSubject, strMessage) Dim cdoConfig Dim objMail
Set cdoConfig = Server.CreateObject("CDO.Configuration") With cdoConfig.Fields .Item("sendusing") = 2 .Item("SmtpMail.SmtpServer") = "mail.7hundred.com" .Item("smtpport") = 25 .Update End With Set objMail = Server.CreateObject("CDO.Message") With objMail Set .Configuration = cdoConfig .From = strFrom .To = strTo .Subject = strSubject .HTMLBody = strMessage .Send
End With End Sub %> ================== I do not know what is wrong with it now.
Please any one advise
Sukhdarshan
sukhdarshan [ admin ( at ) qukserv dot com ],
2005-03-15 05:32:09
#
-
RE: The "SendUsing" configuration value is invalid.
[ Reply ]
The "SendUsing" configuration value is invalid. Typically this exception has to deal with the following line of code (or I should say ABSENCE of the following line of code):
SmtpMail.SmtpServer = "mail.your-domain.com" By default, if SmtpMail.SmtpServer is not set, System.Web.Mail is supposed to use localhost as the default property. However, for some reason this doesn't appear work. If you are using the local SMTP Service to send emails, you may try the following values: "127.0.0.1" "localhost" "the_machine_name_here" "the_real_dns_name_here" "the_machine_IP_Address_here" That should fix it.
anilkumar [ anil12398 ( at ) yahoo dot co dot in ],
2006-07-21 19:10:46
#
-
The server response was not available
[ Reply ]
This is after setting the smtpserver to loclahost or any other valid server.
MB [ mickey dot bowles ( at ) smna dot com ],
2005-06-01 10:12:01
#
-
server rejected one or more receipients
[ Reply ]
I have tried to send an email by initializing smtpmail.smtpserver="my local server name" it gave an exception """The "SendUsing " configuration value is invalid.. so i changed the servername according to the code you have give as smtpmail.smtpserver="127.0.0.1" now it says rejected one or more recepients, exception 550:<my email> recepient rejected whats wrong with this code, can anyone please help me with this error!!!! thanks, sushma
sushma [ sushu05 ( at ) yahoo dot com ],
2005-07-20 19:26:08
#
-
RE: server rejected one or more receipients
[ Reply ]
go to start->admin tools->services->iis->default smtp server-> right click properties-> access tab->go to relay-> select the radio button allexcept list below.
this will work
taral [ taral dot shah dot 007 ( at ) gmail dot com ],
2007-03-19 01:20:17
#
-
4.2.10 "Could not access 'CDO.Message' Object - Part 8
[ Reply ]
I got the error "Could not access 'CDO.Message' Object" with the inner exception being "The "SendUsing" configuration value is invalid." when I used System.Web.Mail to send emails through a VB.NET program which was running under a non-administrator ID. One solution is to add the ID to the administrators group which unfortunately is not a very secure solution :)
I tried all the solutions suggested in this FAQ, but the solution that finally worked for me is as follows -
Add the following 2 lines in your code: (assuming oMessage is your object of type System.Web.Mail.MailMessage)
oMessage.Fields("http://schemas.microsoft.com/cdo/configuration/sendusing") = 1 oMessage.Fields("http://schemas.microsoft.com/cdo/configuration/smtpserverpickupdirectory") = "C:\\Inetpub\\mailroot\\Pickup"
And also grant write access to your pickup directory ("C:\\Inetpub\\mailroot\\Pickup" in this example) to the ID this program is running as.
The reason is that if your program is running under a non-administrative ID, it does not have access to be able to identify what the SMTP pickup directory is. So if you specify that explicitly in your code, everything runs fine. Ofcourse you can then read the value from your config file and remove the hard-coding. You can look at http://support.microsoft.com/kb/816789 for more details on why this access is lost however their solution didn't work for me.
I got this solution working after a couple of days of frustrating "permissions-changing" here and there, so hope this works for you and you save your 2 days :)
Shalaka [ abc ( at ) abc dot com ],
2005-08-16 17:47:55
#
-
SendUsing still fails after above notes
[ Reply ]
Have it set to a valid mail server. Test using it with other apps, but .net still throws this error, and all innerexception say the same thing. Any ideas out there?
Mickey [ mickey dot bowles ( at ) smna dot com ],
2005-09-28 10:57:09
#
-
custom error
[ Reply ]
my configuration tag for the Hotmail is turned off When I send htm by hotmail, I recieve an error Port 0 secure SSL error Ox800CCCF6. This has happened recently. What do I do,
Ardna Richardson [ ardgreear ( at ) hotmail dot com ],
2005-10-11 09:48:26
#
-
THANKS!
[ Reply ]
This solved my problem, thank you!
Xander [ xander dot pascal ( at ) gmail dot com ],
2005-10-12 07:28:17
#
-
working with CDOSYS
[ Reply ]
My host's server does not support SmtpMail, but they do support the underlying CDO.. not sure why, but I'm getting this
System.Runtime.InteropServices.COMException: The "SendUsing" configuration value is invalid.
Here's my code:
using CDO; using ADODB;
Message MyMessage = new MessageClass(); MyMessage.HTMLBody = "some HTML"; MyMessage.From = "a name"; MyMessage.To = "an email address"; MyMessage.Subject = "a subject"; MyMessage.Send();
I got the ADODB from another forum that had an example.. they used the ConfigurationClass() to set 'field' values in the MessageClass() object, but it was specific to their purpose and I can't find any documentation on CDOSYS to tell me what the general parameters are. And no, I can't find any SmtpServer property, or any "server" property at all inside CDO.
Any help greatly appreciated. Thanks in advance.
Tim [ timpalko79 ( at ) yahoo dot com ],
2005-11-02 08:11:30
#
-
RE: working with CDOSYS
[ Reply ]
This will work, from what I know, with Exchange Server 2000 SP3, as long as you've added xxx.mailserver.com to the IIS Smart Host configuration.
Public Function sendtextmail (mailto,mailfrom,mailsubject,mailtext) Dim iMsg Dim iConf Dim Flds Const cdoSendUsingPort = 2 Const strSmartHost = "xxx.mailserver.com"
'Create the message object. Set iMsg = CreateObject("CDO.Message")
'Create the configuration object. Set iConf = iMsg.Configuration
'Set the fields of the configuration object to send by using SMTP through port 25. With iConf.Fields .item("http://schemas.microsoft.com/cdo/configuration/sendusing") = cdoSendUsingPort .item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strSmartHost .Update End With
'Set the To, From, Subject, and Body properties of the message. With iMsg .To = mailto .From = mailfrom .Subject = mailsubject .TextBody = mailtext .Send End With
set iMsg = Nothing End Function
Big Earl [ amadsen ( at ) gmail dot com ],
2005-12-02 08:45:33
#
-
System.web.mail.STMPmail
[ Reply ]
Hi there,If i use System.web.mail.STMPmail to send a message to multiple addresses, and if it fails to send the message to one or tow recipents, then does it fail to send to other addresses as well? if yes then what would be the reason for that? is it going to send the message to the Cc, Bcc addresses too or its just gonna die or fail.
Nazia Jahan [ nazia dot jahan ( at ) connolly-consulting dot com ],
2006-01-27 11:33:28
#
-
RE: System.web.mail.STMPmail
[ Reply ]
if u deal with the local machine as a server and build a web application to send message to ur machine from the ur application then smtpMail.smtpServer = "machineName." where machine name is ur computer name from My computer>right_click properties>computer name [ then copy and past ] .
but if u send it to another server like yahoo : u must specify the smtpServer of the yahoo like smtpMail.smtpServer = "mx.mail.yahoo.com"
as "mx.mail.yahoo.com" is the yahoo real mail server address. and hope i help
mohamed_shamshon [ rafaa_111 ( at ) yahoo dot com ],
2006-04-18 14:27:07
#
-
MailFormat.Html
[ Reply ]
Here's a new one for you...any answers for this? When I set MailFormat to Html n my XP box and try to send to my mail server, I get the narly 'CDO Access...' error. When I keep everything the same and simply change the MailFormat to Text....it works perfect. Any ideas what this could be? Is this permissions on a temp directory or something like another workaround was?
Thanks...
Randy Brown [ rbrown ( at ) resolutions dot net ],
2006-02-15 20:20:25
#
-
Another reason to receive this error code
[ Reply ]
I had a user who was receiving this error clicking button in an excel file. The debugger went to a line in the script with just this on it: ".Send". It works on every other users machine. Long story short .. IIS was not installed.
Rick Stewart [ rick dot stewart ( at ) hrblock dot com ],
2006-09-13 14:45:20
#
-
CDO Fix for exception
[ Reply ]
If you've installed .NET prior to installing the SMTP service then make sure that you give ASPNET modify permissions over C:\Documents and Settings\All Users\Application Data\Microsoft and all its subdirectories. It looks like ASPNET needs to create itself and RSA machine key files before it can send anything.
Nick Morgan [ njm ( at ) worldsecurity-index dot com ],
2006-10-04 08:48:15
#
-
SendUsing Configuration Invalid
[ Reply ]
I am project trainee. I am working on ASP.NET 2.0 with C# I want to send a mail to our client but i got Send Using Cinfiguration invalid i have not set smtp server name canu help me what i have to write i have in place of SmtpMail.SmtpServer = " here " i knoe in place of here i have to write my smtp server name but i have not smtp server and i want to use any other server name then can u tell me what i have to write in place of here
Tarun [ tarduk2004 ( at ) yahoo dot com ],
2007-01-10 23:33:03
#
-
The "SendUsing" configuration value is invalid
[ Reply ]
Hi, excellent site, it does help me alot, but now i do have this error:
The "SendUsing" configuration value is invalid
but only in one PC in others the windows aplication is fine, i already tried stopping the firewall software running on the PC, and reinstalling the windows aplicaion and the framwork 2.0. Any answer would be really helpful
Cisco [ phra_tankian ( at ) hotmail dot com ],
2008-06-11 11:30:53
#
-
program error
[ Reply ]
ox800CCCF6
error Eposta not opend what a do
pleas help me thangs
meralda [ ravan9 ( at ) hotmail dot com ],
2008-07-09 08:15:01
#
-
Send Using config value is invalid
[ Reply ]
I'm getting this error when I run my mail service on Win server 2008 - fine on XP & 2003. I'm sending the mail to a server on the net (NOT a local exchange server) & its set to "cdoSendUsingPort" i.e. "2" which I think is correct. Is it a rights issue ( as I've had loads of them with 2008) or what?
Andrew Websdale [ websdaleandrrew ( at ) googlemail dot com ],
2008-07-25 06:15:24
#
-
Thank You!!
[ Reply ]
Thanks for posting this i saw this post and resolved the issue in lessthen a 30 sec. on production servers.
Tapan [ tapan_shroff ( at ) hotmail dot com ],
2009-10-12 07:20:13
#
|