close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Wrong image URL in sent emails

Thread began 7/18/2012 7:55 pm by sublucent | Last modified 7/25/2012 4:52 pm by Jason Byrnes | 912 views | 7 replies |

sublucentBeta Tester

Wrong image URL in sent emails

Hello

When I upload images with PM and insert them into emails the URL inputs /newsletter/imagesadmin/image.gif and it shows the image in the email editor, but when the email is sent the image URL is sent as image.gif.

It works and emails correctly if I add www.mywebsite.com/ to the URL in image properties. What code do I have to change to have the whole URL insert automatically when selecting an uploaded image? I don't want my client to have to type that in every time.

Thanks for your help.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Jason Kline

Hello Jason,

I am experiencing the problem.

Thanks,

Jason Kline

Sign in to reply to this post

Jason ByrnesWebAssist

this seams to be a problem when using Power Mailer under HTTPS. to fix the issue, edit the admin_pm/common/sendPreview.php file, and change line 179:

php:
$httpURL = preg_replace("/^http:\/\//i", "", $WAGLOBAL_Root_URL.'admin_pm');



to:

php:
$httpURL = preg_replace("/^https:\/\//i", "", $WAGLOBAL_Root_URL.'admin_pm');
Sign in to reply to this post

sublucentBeta Tester

Another HTTPS problem

I ran into another related problem.
When I add links to text like:
<a href="http://www.mysite.com">www.mysite.com</a>
the link in the email comes through as
link.php?id=MThAQF9QTV9TRVBfQEAxMTRAQF9QTV9TRVBfQEA0MQ==
I'm guessing that is for the data collection for the results graphs. The problem is that PM removes the www from my link and since my client is using a 301 redirect for her SSL cert anyone who clicks that link gets thrown a warning message saying the connection is untrusted or that there is a problem with the website’s security certificate.

Where do I change the code to make sure the www gets added to the links?

Update:
For anyone else that runs into this problem
edit line 55 of webassist/globals/globals.php
I added "www." to the 'https://'

php:
from ..."? 'https://' : 'http://') . $_SERVER['SERVER_NAME'] ."...

to ..."? 'https://www.' : 'http://') . $_SERVER['SERVER_NAME'] ."...
Sign in to reply to this post

Jason ByrnesWebAssist

update the incident with this information so we can look into it.

Sign in to reply to this post

sublucentBeta Tester

ticket closed

I closed the ticket, can you please reopen it?
Thanks

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a new ticket for this.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...