|
What do you mean send e-mail without spam?
Why do you think spam is being sent, the tutorial just teaches you how to send e-mail
|
|
|
|
|
hai,
thanks for your replay.i use the code,
MailMessage mailMessage = new MailMessage();
mailMessage.From = txtSender.Text;
mailMessage.To = txtReceiver.Text;
mailMessage.Cc = txtCc.Text;
mailMessage.Bcc = txtBcc.Text;
mailMessage.Subject = txtSubject.Text;
mailMessage.Body = txtBody.Text;
mailMessage.Priority = MailPriority.High;
/* Set the properties of the MailMessage to the
values on the form */
if (rblMailFormat.SelectedItem.Text == "Text")
mailMessage.BodyFormat = MailFormat.Text;
else
mailMessage.BodyFormat = MailFormat.Html;
/* Set the SMTP server and send the email with attachment */
// SmtpMail.SmtpServer = "127.0.0.1";
SmtpMail.SmtpServer.Insert(0, "127.0.0.1");
SmtpMail.Send(mailMessage);
this mail is going to spam.tell me, how to send mail in inpox.
thank you.
|
|
|
|
|
Have you checked to see if the e-mails go into your spam box in other e-mail accounts. Might just be the one you are using.
On mine the code above works fine
|
|
|
|
|
hai,
thank you for your replay.are check my code?.mail go to inbox?.
replay to me..
|
|
|
|
|
You can have several e-mail accounts yeah, hotmail, yahoo etc
Check if the e-mail goes into any of the other spam boxes
|
|
|
|
|
thank you so much.it work fine..
|
|
|
|
|
Hi,
Really,i need to implement hash table like functionality in my application,
can anybody help me.
Thanks,
Sri
|
|
|
|
|
what u want?
dim hs as new hashtable
hs.add("1",ram)
hs.add("2",ram)
hs.add("3",ttt)
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Piyush,
Actually i need internal structure..i mean internal functionality of hash table.(hashtable class structure)
Thanks
Sri
|
|
|
|
|
Reinventing the wheel... it has to be a homework assignment?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Use a Dictionary<Key,Value>.
Example:
Dictionary<string, string> test = new Dictionary<string, string>();<br />
test.Add("answer", "42");<br />
string answer = test["answer"];
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
hello friends
i am writing this code but i am not getting user from (Domain Users) group in Active directory. Please help me.
CODE:-
Try
Dim groupName As String = "Users"
If Not (_DirectoryRoot Is Nothing) Then
Exit Sub
End If
authenticationType = New System.DirectoryServices.AuthenticationTypes
authenticationType = AuthenticationTypes.Secure
_DirectoryRoot = New DirectoryEntry("LDAP://dev.eventure.biz", "dev\adadmin", "password_1234", authenticationType)
Dim directorySearcher As DirectorySearcher = New DirectorySearcher(_DirectoryRoot)
directorySearcher.SearchScope = SearchScope.Subtree
directorySearcher.Filter = "(&(objectCategory=Group)(CN=" & groupName & "*))" 'String.Format("(cn={0})", groupName) ' "(cn=" & searchQuery & "*))"
directorySearcher.PropertiesToLoad.Add("member") '"((CN=" & groupName & "*))"
Dim searchResults As SearchResult = directorySearcher.FindOne
If Not (searchResults) Is Nothing Then
Dim Length As Integer = searchResults.GetDirectoryEntry.Properties("member").Count - 1
For i As Integer = 0 To Length
Dim UserName As Object = Split(Split(searchResults.GetDirectoryEntry.Properties("member").Item(i), ",")(0), "=")(1)
' sipUriCollection.Add(GetUserSipUri(UserName))
Next
End If
Catch ex As Exception
End Try
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
Hi,
Help me on this issue,
How to create our own appointment template in aspxschedular.
Thanks,
Sri
|
|
|
|
|
Hi
I want to display Information whenever mouseover event occurs on ImageButton.
Images are displaying using datalist control.
How can I find event OnMouseover in Code behind. Because datalist is displaying on button click event.
Thanks
|
|
|
|
|
You can write javascript to show what you want onmouseover event of the image. This javascript code you can attach to the images inside datalist or any other control.
Apurva Kaushal
|
|
|
|
|
Thanks For the reply.
But where Should I write the code for java script in the datalist.
Because on mouse over only that perticular id's information will be pop up.
I am getting same id of imagebutton that I bound to datalist.
Thanks
modified on Tuesday, July 15, 2008 2:48 AM
|
|
|
|
|
call the javascript from the datalist.
Put your javascript at the top of your page and then just call the function when you need it
|
|
|
|
|
But From which event of Datalist Should I call the Javascript?
Because When I Click Search Button Result is display.
Result contains Image and some information.
The images displying by using datalist. datalist contains imagebutton.
Though I write code for javascript.When Should I Call. Because if there are 3 records then on mouse over of that records associated infomation I want to display
Thanks
|
|
|
|
|
Have you resolved the issue or still struggling?
Apurva Kaushal
|
|
|
|
|
when u bound image in datalist then
i think u use for bound the image.
so u should use this code...
give title=Single cote(because single code is not dispalying in this box.)
may be this code will help u......
modified on Tuesday, July 15, 2008 3:49 AM
|
|
|
|
|
Thanks For reply.
I am using ImageButton.
|
|
|
|
|
<asp:ImageButton ID="img" ImageUrl='<%# DataBinder.Eval(Container.DataItem,"Image") %>' title='<%# DataBinder.Eval(Container.DataItem,"Name") %>' runat="server" />
u cange only column name ....]
then it will run......
|
|
|
|
|
Hi friends
I need a help to get a current time of UK from US current time.
Can anybody guide me to solve the above issue
Advance thanks for your help
Thank U
G Nathan
modified on Tuesday, July 15, 2008 2:14 AM
|
|
|
|
|
try this:
http://www.quantumsoftware.com.au/ProductsServices/WorldTimeWebService.aspx
http://www.csharphelp.com/archives2/archive356.html
|
|
|
|
|
hai all,
i am using .net 2005.i am doing my project in asp.net using c#.for my project back end is MS ACCESS 97.
the following code is
com = new OleDbCommand("select HolderNo,HolderName,DepartmentNo,mid(Appsetdata," + bb + ",2),JobTitle from holderdata where DepartmentNo <> '0000'", con);
dr = com.ExecuteReader();
i1 = 0;
while (dr.Read())
{
holno[i1] = dr.GetString(0);
holname[i1] = dr.GetString(1);
dept[i1] = dr.GetString(2);
appset_holder[i1] = Convert.ToInt16(dr.GetString(3));
jobtitle[i1] = dr.GetString(4);
i1++;
}
dr.Close();
in the above code shown the error in jobtitle[i1] = dr.GetString(4);
the following error were display,
System.InvalidCastException: Specified cast is not valid. at System.Data.OleDb.ColumnBinding.ValueString() at System.Data.OleDb.OleDbDataReader.GetString(Int32 ordinal) at _Default.emp_iterate() in c:\Documents and Settings\sabari\My Documents\Visual Studio 2005\Projects\styrisact1\Default.aspx.cs:line 182 at _Default.validate_main() in c:\Documents and Settings\sabari\My Documents\Visual Studio 2005\Projects\styrisact1\Default.aspx.cs:line 126 at _Default.SubmitImageButton_Click(Object sender, ImageClickEventArgs e) in c:\Documents and Settings\sabari\My Documents\Visual Studio 2005\Projects\styrisact1\Default.aspx.cs:line 101
how to solve the above error?thanks to all in advance.
|
|
|
|