Smtp email programming question (but not really)

Discussion in 'Email' started by PJ2010, Nov 29, 2011.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. This is not really a programming question but I can move it there.

    I am trying to automatically send email using programming using WCF and web services. Some links below that are self-explanatory even if you don't code, see below at Reference "A".

    I want to do this for non-SPAM purposes (for password recovery for a program I wrote). I understand some commercial webhosts actually will not allow these type programs on their servers, for anti-spam reasons, but in this case I don't intend to spam and anyway I'm sure there are other remedies if I do spam that DASP can resort to.

    I need to know my smtp.HOST, see below on what I did, at reference "B", and my smtp.PORT, see below at "C"

    Finally I need to know if anybody has done this before at DASP or if it is permitted--I think 99% sure the answer is yes.

    Specifically, I need to please know:

    1) if the procedure in REFERENCE "B" will yield an accurate IP Address number that corresponds to DiscountASP.Net smtp email servers

    2) if the default smtp port for email is: smtp.Port = 25;

    3) the User Name and Password I think I can figure out: it's something you create online using the email manager tool at: https://my.discountasp.net/email-manager/default-sm.aspx

    Thank you,

    PJ2010

    References:

    //REFERENCE "A" //////////
    http://www.silverlightnext.com/2010/06/send-email-from-silverlight-application.html

    (what do i put in the section <mailSettings>? What is my host/port/username/settings? Where is this information found in Discountasp.net?

    http://www.michaelsnow.com/2010/06/10/silverlight-tip-of-the-day-30-sending-email-from-silverlight/

    SmtpClient smtp = new SmtpClient();

    smtp.Host = "111.111.111.111"; // Replace with your servers IP address //??What is it for my DASP account?

    smtp.Port = 25; //is this true for DiscountASP?
    /////////////////////////

    /////// REFERENCE "B" ////////////
    0. Entering my SMTP Server information from the DiscountASP Control Panel

    1. Using this tool: http://www.hcidata.info/host2ip.htm (is this a reliable tool)?

    2. Gives me this: sm07.internetmailserver.net -- is this a DiscountASP.net server?

    And a certain IP domain name 64.XX.ABC.123 that corresponds (says the website above) to smtp.MyDomainName.com

    ////////// REFERENCE "C" /////////////
    smtp.Port = 25; //is this true for DiscountASP?

    https://support.discountasp.net/KB/a274/getting-started-with-the-smartermail-email-system.aspx //WHERE IS THE INFORMATION ON smpt.port?
     
  2. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page