How can I send a mail use by specific SMTP IP?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: How can I send a mail use by specific SMTP IP?

  1. #1
    PilSung Guest

    How can I send a mail use by specific SMTP IP?

    I sent a mail this method

    Imports System.Web.Mail
    Dim mail As New MailMessage()
    mail.From = txtFrom.Text
    mail.To = txtTo.Text
    mail.BodyFormat = MailFormat.Html
    mail.Subject = txtTitle.Text
    mail.Body = txtContent.Text
    SmtpMail.Send(mail)

    How can I send a mail use by specific SMTP IP?




  2. #2
    Phil Weber Guest

    Re: How can I send a mail use by specific SMTP IP?

    > How can I send a mail use by specific SMTP IP?

    PilSung:

    SmtpMail.SmtpServer = "192.168.10.1"
    SmtpMail.Send(mail)

    ---
    Phil Weber



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center