Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 2nd, 2004, 07:16 AM
Registered User
 
Join Date: Mar 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default I have problem to use Persits.MailSender

Hi
I use code asp for send email.
my problems is:
If I want send a mail to hotmail Box.
It canot.

but it can send a mail to such as [email protected] address.

but if I wnat send a mail to hotmail Such as "[email protected]"
It reture this error "550 not local host hotmail.com, not a gateway"

this is my code

Set Mail = Server.CreateObject("Persits.MailSender")
       Set arrTo = Session("arrTo")
       Mail.Host = "mail.iranpicmicro.com"
       Mail.AddAddress [email protected] ''''''"[email protected]"'
       Mail.From = "[email protected]"
       Mail.FromName = "Master Mailer"
       Mail.Subject = "This is your Subject"
       mail.Body = "This is an automatit mail"
      On Error Resume Next
        Mail.Send
        If Err <> 0 Then
            Response.Write "An error occurred: " & Err.Description & a(11)
        else
            %><p><IMG src="images/Thanks.gif" align=right border=0></p><%
        End If
pleae help me
Thanks

 
Old March 2nd, 2004, 07:31 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Do you enclose the mail address in quotes?

Mail.AddAddress "[email protected]"

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Persists.MailSender dammy Classic ASP Components 1 September 6th, 2007 01:02 PM
upload multiple files in db with persits aspjpeg dann2 Classic ASP Basics 0 May 10th, 2007 11:20 PM
getting problem in Persits.MailSender najamsiddiqui ASP.NET 1.0 and 1.1 Basics 3 October 16th, 2006 10:53 PM
Return receipt Persits ASPEmail Haroldd Classic ASP Components 1 March 10th, 2004 11:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.