* VbSendMail * Need Help regarding SMTP server setting

Posted on 2005-04-18
Last Modified: 2011-10-03
Hai experts,

I am developing a VB application to send a mail, many experts suggested "VbSendMail" which is a free DLL from other web site, i downloaded it and i run it but my problem is how can i supply SMTP server.
it is working when a mail send with in my office, if i send a mail to other mail it does not work.
when i send like following   To :
                                    From :
                                  smtp server name : myofficemailserv
it is working and i can send attachment as well but i want to send as following

For example. i send a mail  To :
                                    From :
                                  smtp server name : myofficemailserv

it doesnt give any result

any help is really really appreciate
with regards

Question by:maramreddy
    LVL 38

    Accepted Solution

    You might try authenticating your request:

    Mail.Username = ""
    Mail.Password = "mypassword"
    Mail.UseAuthentication = True

    The thing is that SMTP is often allowed for in domain sending, but not allowed for out of domain sending.  However, it may be allowed with authentication.  If this doesn't work, I suggest you talk to your mail server admin.
    LVL 69

    Assisted Solution

    by:Éric Moreau
    your sysadmin is blocking relay

    Author Comment

    Thank you for your reply's
    as soon as i contact my sysadmin i will get back to you

    Author Comment

    problem is solved. i contacted my sysadmin...he gave some relay permisions ...

    thank you very much

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now