VB.NET

Moderators: seancampbell
Number of threads: 4020
Number of posts: 10026

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Mail Sending Posted by G.Manivannan on 25 Jun 2007 at 4:20 AM
Hello,
I an doing project sending mail through vb.net 2005. The mail is successfully sending from my company website mail id to my company website mail id (i.e) from info@akuva.com to info3@akuva.com.
But it is not sending the mail from info@akuva.com to someone@yahoo.com and also to someother websites.The sending msg (ie) "Successfully Sent" msg is display at last. How can I solve this problem?
G.Manivannan, M.Sc.,[it],
VBA Programmer,
AKUVA Infotech, Bangalore.
Report
Re: Mail Sending Posted by seancampbell on 25 Jun 2007 at 5:28 AM
What are you sending the email with? You probably need to set the From feild of the email before you send it.

If you can, post some code that you are using to send that email.

: Hello,
: I an doing project sending mail through vb.net 2005. The mail is
: successfully sending from my company website mail id to my company
: website mail id (i.e) from info@akuva.com to info3@akuva.com.
: But it is not sending the mail from info@akuva.com to
: someone@yahoo.com and also to someother websites.The sending msg
: (ie) "Successfully Sent" msg is display at last. How can I solve
: this problem?
: G.Manivannan, M.Sc.,[it],
: VBA Programmer,
: AKUVA Infotech, Bangalore.
Report
Re: Mail Sending Posted by G.Manivannan on 3 Jul 2007 at 6:03 AM
: What are you sending the email with? You probably need to set the
: From feild of the email before you send it.

Hai,
Sorry for late and for the past few days I was busy with someother urgent work.Now I return back to this project. Just I want to send a mail to client with some attachement files.
Here by I had given the code...

Can I attach more than one file for single mail


Dim SendEmail As New Mailclass
Dim SendTo As String
Dim FileAttach As String
Dim strSubject As String
Dim strMessage As String
SendTo = txtTo.Text
FileAttach = "c:\text.txt"
strSubject = txtSub.Text
strMessage = rtfMsg.Text 'The body encoding is set to HTML
SendEmail.SendEmailMessage(txtFrom.Text, SendTo, strSubject, strMessage, FileAttach)
MsgBox("Mail Sent")



G.Manivannan, M.Sc.,[it],
VBA Programmer,
AKUVA Infotech, Bangalore.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.