Code Bank
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingCode Bank

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old August 11th, 2004, 02:11 PM
itcassy itcassy is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 1 itcassy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy URL Limitation & mailto: help

I have created a custom control panel for a client to select all of their contact's emails or just a couple from their database. All of the code is correct and everything works except for the mailto: which would put all of the email addresses into the To field of a blank email message. However, I did some checking and there is a limit on how long a url can be. There are too many characters for the email link to work since my client has so many email contacts. I have already invested a lot of time into the project and I am looking for an easy solution, if possible. Right now I have an asp page where you can select which contacts you would like to email. When you click the generate email button, it goes to a new page, sending the email addresses with it and generates the mailto: url from all of the email addresses. Is there a different way to generate a blank email with the addresses in it besides a mailto url? Or any other solutions? The only thing I cam up with is to list all of the email addresses on the page instead of the url and require the client to copy them and paste them into outlook.

Reply With Quote
  #2  
Old August 19th, 2004, 03:31 PM
dcarva's Avatar
dcarva dcarva is offline
Contributing User
ASP Free Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: USA
Posts: 633 dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level)dcarva User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 9 h 18 m 20 sec
Reputation Power: 6
I had to do something like this before. What I ended up doing was creating an HTML form where the user could select contacts, enter the subject and message of the email. After clicking submit, I would loop through a number of contacts, say 50 at a time or so, and send the email using SMTP. In the end I rewrote it with .NET. Here is how you can send an email with ASP.

<%
Dim objCDO, MailBody
set objCDO = Server.CreateObject("CDO.Message")
Set objCDO.Configuration = Session("Config")
objCDO.To = "email@domain.com"
objCDO.CC = "email@domain.com"
objCDO.From = "myemail@domain.com"
objCDO.Subject = "Submect"
objCDO.HTMLBody = "Body"
objCDO.Send
set objCDO = nothing
%>

Hope this gives you some ideas.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingCode Bank > URL Limitation & mailto: help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT