Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I need to insert an announcement into email with active links

Status
Not open for further replies.

CeilJarrett

Technical User
Feb 8, 2010
4
0
0
US
I need to be able to insert an announcement into email with active links - I have worked in Constant Contact but for various reasons, we can't use that. I need to have a piece of art (I did the layout in InDesign as a jpg), to be dropped in a mass email, but now my client wants to have active links as a part of that jpg. Is that possible? Is there anything that I can send to her to drop in to an email that would include active links?
 
What is an "active link"?

I'm sending email from many ASP programs like this:
Code:
Set objMail = Server.CreateObject("CDO.Message")
Set objConf = Server.CreateObject("CDO.Configuration") 
Set objFields = objConf.Fields
With objFields
.Item("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/sendusing")[/URL] = 2
.Item("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/smtpserver")[/URL]  = "127.0.0.1"
.Item("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout")[/URL] = 10 
.Item("[URL unfurl="true"]http://schemas.microsoft.com/cdo/configuration/smtpserverport")[/URL] = 25
.Update 
End With

With objMail
 Set .Configuration = objConf
 .From = """Webmaster"" <no-reply@url>"
 .Sender = "Webmaster"
 .To = "emailadress@url"
 .Subject = "Email subject"
 .HTMLBody = cHTMLbody
End With
Err.Clear 
  
objMail.Send
    
set objFields = Nothing
Set objConf = Nothing
Set objMail = Nothing

That "cHTMLbody" is a text string including HTML tags.
I can put an <IMG src="URL"> in it, but of course that .JPG must be uploaded to a public webserver to.
 
A link that when clicked on, will take you to a web site or email address....
 
oke, so eg:

Code:
.HTMLBody = "Go to <a href=[URL unfurl="true"]www.xtho.nl>www.xtho.nl</a>[/URL] and login with:<br>Emailadres = XXXXXXXXXXXXXXXXXX"<br>Wachtwoord = YYYYYYYYYYYYYYYY"
 
Yow. I think I'm outta my league here - I have no clue what any part of your answer(s) mean. I am not technical enough for this site I guess.... Thanks for trying.
 
I'm not a programmer - I am a designer that is trying to learn how to make an email announcement for a client that wants clickable links..... I thought that would be a technical kinda question, but now I guess not. You guys are way over my head with your expertise.
 
So you want o send an email (newsletter?) with JPG + link or attachment. I don't see the problem. You can put links in PDF, in Word, in an email, etc....
 
You should be able to create an HTML email, with hyperlinks, in whatever mail client you use (which you have not stated), and send to all your contacts. If you can't, you should find a more appropriate forum (this one is for ASP programming).

Perhaps try forum605
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top