Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Need to sned data or mail to fogbugz api by using .net?

Need to sned data or mail to fogbugz api by using .net?

Scheduled Pinned Locked Moved ASP.NET
csharpjsonhelptutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    subbu sk
    wrote on last edited by
    #1

    Hai all, i had one contact us page in my website, in that if i click sendmail btn then it will send the mail to the gmail. and after that out customerservice got the mail in fogbugz. but i need , if we click the sendmail btn then it will send the data to fogbugz API directly. could any body help me how to do that by using .net?

    Thanks Subbu.

    E 1 Reply Last reply
    0
    • S subbu sk

      Hai all, i had one contact us page in my website, in that if i click sendmail btn then it will send the mail to the gmail. and after that out customerservice got the mail in fogbugz. but i need , if we click the sendmail btn then it will send the data to fogbugz API directly. could any body help me how to do that by using .net?

      Thanks Subbu.

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      Can you post your code as it my help us. You may need to use gmail forum though

      S 1 Reply Last reply
      0
      • E eyeseetee

        Can you post your code as it my help us. You may need to use gmail forum though

        S Offline
        S Offline
        subbu sk
        wrote on last edited by
        #3

        this code is to send comments first to gmail ,after that got the comments in customerservies,i.e fogbugz api. but i need the comments directly go to the fogbugz api.... not to the gmail. objCEmail.FromAddress = txtEmailId.Text objCEmail.MailFromAddress = txtEmailId.Text objCEmail.ReplyToAddress = txtEmailId.Text strType = ddlRequestType.SelectedValue If strType = "Problem with an Order" Or strOrderStatus = "Fail" Then strType += ":" & txtId.Text objCEmail.Body = "Problem with an Order:" & txtId.Text ElseIf strType = "Report Abuse" Then If ViewState("albumid") IsNot Nothing Then strType += ":" & ViewState("albumid") objCEmail.Body = "Report Abuse:albumid=" & ViewState("albumid") ElseIf ViewState("photoid") IsNot Nothing Then strType += ":" & ViewState("photoid") objCEmail.Body = "Report Abuse:photoid=" & ViewState("photoid") Else objCEmail.Body = "Report Abuse:Empty" End If ElseIf strType = "Marketing/Business Development" Then ContactUsEmailID = ConfigurationManager.AppSettings("MarketingEmailID") End If objCEmail.ToAddress = ContactUsEmailID objCEmail.Subject = strType objCEmail.Body += "<br/>" If Not Session("UserGuid") Is Nothing Then objUser = UserAccess.GetUser("Guid", Session("UserGuid").ToString) If objUser IsNot Nothing Then objCEmail.Body += "User name: " & objUser.UserNickName & "<br/>" '& " (" & objUser.Guid.ToString & ")" & "<br/>" End If End If objCEmail.Body += "Report Info:<br/>" objCEmail.Body += txtComment.Text objCEmail.Body += "<br/><br/><strong>User Cookie Info:</strong><br/>" objCEmail.Body += GetCookieInfo() Dim str_BrowserType As String = Request.Browser.Browser Dim str_BrowserVersion As String = Request.Browser.Version Dim str_PlatForm As String = Request.Browser.Platform Dim strBrowserInfo As String strBrowserInfo = "<br/><b>" & "</br><b>BROWSER : </b>  " & str_BrowserType & _

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups