Topic: asp.net1.1

hai guys iam using asp.net 1.1 with vbcoding when iam sending mail through my application i receive mail in bulk folder.i want to receive in inbox default.help me

Re: asp.net1.1

how are you sending mail? Make sure you have a full address and a good subject entered. It seems that you mail program is identifying that the mail is span based on some criteria. Add your from email to the safe senders list to make sure that it gets through. Some email clients look for missing subjects, common email usernames and email with the word test or even random characters.

Depending on how you are sending the message also can be a factor. You will need to provide more specific details on how you are sending mail.

Thanks,

Tom

† Taj

Re: asp.net1.1

asp.net(1.1) Thanku fr ur rply Jenkinsta here is my coding part

Dim m As New MailMessage
        Dim m1 As MailAttachment
        Dim str As String
        Dim attachfile As HttpPostedFile
        Dim len As Integer
        Dim attach1 As String = ""
        Dim strFileName As String = ""
        Dim message As New MailMessage
        If (File1.PostedFile.FileName <> "") Then
            Dim ulFile As HttpPostedFile = File1.PostedFile
            Dim nFileLen As Int64 = ulFile.ContentLength
            If (nFileLen > 0) Then
                strFileName = Path.GetFileName(File1.PostedFile.FileName)
                'Dim path1 As String = Server.MapPath("images/multilab_logo.gif")
                'Dim logo As New LinkedResource(path1)
                'strFileName = "Uploads/" + path1
                File1.PostedFile.SaveAs(Server.MapPath(strFileName))
                Dim att As MailAttachment = New MailAttachment(Server.MapPath(strFileName))
                m.Attachments.Add(att)
                attach1 = strFileName
                Label3.Visible = True

            End If
        End If

        m.From = txt_from.Text
        m.To = txt_to.Text
        message.Subject = TextBox4.Text
        m.Subject = TextBox1.Text
        m.Priority = MailPriority.High
        m.BodyFormat = MailFormat.Html
        m.Body = txt_body.Text
        m.Body = "<html><body><h2 " + "align = center>Hello World! " + "</h2></body></html>"

        m.Body = "<html><body>utilmailmessage001 - success</body></html>"
        m.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1")
        m.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "shiv")
        m.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "shiv")
        SmtpMail.SmtpServer = "m.multilab.biz" 'your real server goes here
        SmtpMail.Send(m)
        Response.Write("send")
        Response.Write("<BR><font color=green face=verdana size=2> MAIL SEND.</font>")

plz review it and reply fr me

Last edited by senthil kumar (2007-09-05 20:17:50)

Re: asp.net1.1

iam using asp.net(1.1)applicaton.
1)my web page design is html format.
2)and i call my application from html by iframe.
i want to reterive the html url from asp.net(vbcoding)
so plz help me and send mail to palanisenthilmca2006@yahoo.co.in

Re: asp.net1.1

I am not a vber it hurts my eyes wink

I am not sure if you can send images using 1.1 without using aspmail or other component. I would comment that out and test it. If it fails then look at your html tags in the body. I dont think you need to specify <html><body> in the message itself. I think it is behind the scenes. Remember to look at the source of the email that is going to your bulk folder. That way you can see if it is adding duplicate tags.

Here is a good source for .NET 1.1 System.Web.Mail = http://www.systemwebmail.com

I red just this morning an article from David Greiner on "Why we need standards support in HTML email" More than what you need right now but it is a good read. http://www.campaignmonitor.com/blog/arc … upp_1.html probably will apply when you upgrade to 2.0 using System.Net.Mail which does not have any CDONTS in it and is very well put together.

† Taj

Re: asp.net1.1

thanks for ur reply jenkinsta here is my another question if its possible plz review it and reply me

iam using asp.net(1.1)applicaton.
1)my web page design is html page(my company site desgin)
2)And my coding part is asp.net(vbcoding)application.
3)first my html page(my company site desgin) will run
4)In that html desgin. with the help of IFRAME i call my asp.net(vbcoding)application
5)when my htmldesgin(my company desgin)runs asp.net(vbcoding)will load automatically
6)there we can see my asp.net page desgin in html page
And my question is
              If any user comes and open the IE browser and type www.mycompanyname./their collegename
              1)first my htmldesgin(my company site) will open correspondingly their college details also
              HERE IS THE QUESTION I WANT TO GET THE FULL URL WHAT THE BROWSER TYPE IN THE ADDRESS BAR.
                                                                    IN ASP.NET(VBCODING) PAGE LOAD


                             please review my question and reply me in my mail id palanisenthilmca2006@yahoo.co.in

Last edited by senthil kumar (2007-09-06 21:54:23)

Re: asp.net1.1

Not exactually sure what you are asking but here is my take.

ResolveUrl("apage.html") will return the full path of that page http://www.domain.com/pages/apage.html

REF http://msdn2.microsoft.com/en-us/librar … veurl.aspx

or

Request.UrlReferrer = Gets information about the URL of the client's previous request that linked to the current URL.

http://msdn2.microsoft.com/en-us/librar … errer.aspx

† Taj