How to remove string [SPAM] in my email subject?

Last post 05-16-2008 12:10 AM by aspro. 4 replies.

Sort Posts:

  • Tongue Tied [:S] How to remove string [SPAM] in my email subject?

    05-15-2008, 3:17 AM

    I'm using System.Net.Mail to send email. All the things had done right but when the email received (in gmail and yahoo mail), in my email subject appear a string like that: "[***SPAM*** Score/Req: 05.8/5.0]". How can I remove that string?
    .

    Filed under:
  • Re: How to remove string [SPAM] in my email subject?

    05-15-2008, 3:33 AM
    • Loading...
    • Svante
    • Joined on 02-12-2007, 12:15 PM
    • Stockholm, Sweden
    • Posts 1,959
    • Moderator

    likethitnguoi:
    How can I remove that string

    By not sending spam. Tongue Tied

    Seriously, many e-mail providers scan incoming e-mail for text patterns. If your message contains certain keyword found often in spam, then you'll likely get the result you see.

    Another reason may be that you're sending from an IP-address that's either known to send spam, or regarded as likely to send spam - i.e. a DSL or dial-up connection. The solution here is to send via your ISP's SMTP-servers instead of sending directly.

    Svante
    AxCrypt - Free Open Source File Encryption & Online Password Manager - http://www.axantum.com
    [Disclaimer: Code snippets usually uncompiled, beware typos.]
    ______
    Don't forget to click "Mark as Answer" on the post(s) that helped you.
  • Re: How to remove string [SPAM] in my email subject?

    05-15-2008, 3:44 AM

    Hi,

    Please read thoese tips for avoiding Spam Filters with System.Net.Mail : http://www.andreas-kraus.net/blog/tips-for-avoiding-spam-filters-with-systemnetmail/

    Bashar Kokash, Blog
  • Re: How to remove string [SPAM] in my email subject?

    05-15-2008, 10:05 PM

     Thanks for your replies. But I still can't solve my problem.

  • Re: How to remove string [SPAM] in my email subject?

    05-16-2008, 12:10 AM
    • Loading...
    • aspro
    • Joined on 04-14-2008, 9:29 PM
    • Australia
    • Posts 32

    It is not your code that is adding the [SPAM] to the subject line, it is the mail servers you are sending the mail to. It checks the incoming mail then if it thinks it is spam it will add the [SPAM] string to the start of the subject line. The only way you can stop this is by passing as legitimate mail using the ideas mentioned above.

    aspro 

    Please mark your posts as answered and thank the asp gods of the forum
Page 1 of 1 (5 items)
Microsoft Communities
Page view counter