[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

* VbSendMail * Need Help regarding SMTP server setting

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 : maramreddy@gmail.com
                                    From : maramreddy@officeid.com
                                  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 : maramreddy@officeid.com
                                    From : maramreddy@gmail.com
                                  smtp server name : myofficemailserv

it doesnt give any result

any help is really really appreciate
with regards
Maramreddy



 
                     
0
maramreddy
Asked:
maramreddy
  • 2
2 Solutions
 
PaulHewsCommented:
You might try authenticating your request:

Mail.Username = "myemail@domain.com"
   
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.
0
 
Éric MoreauSenior .Net ConsultantCommented:
your sysadmin is blocking relay
0
 
maramreddyAuthor Commented:
Thank you for your reply's
as soon as i contact my sysadmin i will get back to you
0
 
maramreddyAuthor Commented:
hai
problem is solved. i contacted my sysadmin...he gave some relay permisions ...

thank you very much
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now