Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  SendMail issue
Previous Previous
 
Next Next
New Post 1/11/2008 3:05 PM
Unresolved
User is offline David Habib
12 posts
10th Ranked


SendMail issue 

I'm using Services.Mail.Mail.SendMail(strFrom, strTo, CC, BCC, Services.Mail.MailPriority.Normal, MsgSubject, Services.Mail.Mailformat.Html, System.Text.Encoding.UTF8, MsgBody, Attachment, SMTPServer, SMTPAuthentication, SMTPUsername, SMTPPassword) in a custom module installed on DNN 4.x

I'm finding that it only succeeds to send email, if strFrom is a valid user account on the SMTP Server.  I'm trying to allow users of my website to send a message with a link to our site to a friend.  Thus I want strFrom to be their email address which obviously won't be on our server.  When I try this, SendMail returns Mailbox unavailable. The server response was: No such user here

Is this a bug in SendMail, or am I missing something?

Thanks for any help,

Dave

 
New Post 1/11/2008 3:21 PM
User is offline Sebastian Leupold
15228 posts
www.deutschnetnuke.de
1st Ranked












Re: SendMail issue 

do pass "" for both SMTPUsername and SMTPPassword! if emails still get rejected, you need to make sure, SMTP server is registered for the sender's domain. Use user's email as reply to and admin's email as from address.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  SendMail issue
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


UK DotNetNuke CMS installation, hosting & support
UK based installation, branding, customising, integration, hosting, training, support and maintenance services for DotNetNuke
www.deburca.co.uk
Need Help with your DotNetNuke website?
Jango Studios offers exclusive DotNetNuke Skin Design, Module Development, Web Marketing and Web Hosting.
www.jangostudios.net
Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP