|
| |
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
JMail Question - 7/21/2002 12:50:04
I am trying to use the: GetMessageBodyFromURL (bstrURL, [bstrAuth]) function to load a webpage in when someone checks the email I sent them. I can get the page up and displayed, but I also need to send a variable with the URL. The second parameter " bstrAuth" might be the answer. I did a google search on Jmail. I was able to find examples on every function in Jmail but this one. The one I need. The URL page has a database query and the query requires a integer number. I need to be able to bring up my URL and have an integer value sent too so the query can grab it, search the database and display the results. Does anybody know how to send a URL type message body with a variable??? BIG PROBLEM. The kind you lose sleep over!!! Thanks to all, LLL
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: JMail Question - 7/21/2002 18:46:34
Spooky Moderator, Thanks for your input. I am using ASP code. Your code is great but it defeats the purpose. If I just use the URL address (without variables) in GetMessageBodyFromURL () the user has my page load into their email view when they click on my email. But if I use yours, then the user has to click on the link to bring them to my page. In other words, as a link, when you click on it, a window pops up and my page is loaded. But with GetMessageBodyFromURL (), the email itself IS my page. The page is embedded inside the email box. Did you ever notice when you get spam, sometimes when you click the email title in your in-box, the page is inside the email itself? This is what I mean. I talked to the person that I am doing the work for, and they insist that the page be inside the email itself, and not a clickable link that takes you to a page in another window. If I had your email address I would send you an email generated from the site. And when you clicked on the title in your in-box, you would see the page partially displayed. Partially??? Yes, the database would return an error becasue it is missing it' s Record Id. That' s what I need to pass. Any other ideas would be greatly appreciated. Thanks for your help. LLL
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: JMail Question - 7/21/2002 19:04:00
Spooky Moderator, I have searched over 35 pages of google, and this is the ONLY definition I can find in this world: GetMessageBodyFromURL( bstrURL, [bstrAuth] ) (v3.0) --------------------------------------------------------------------------------------- Clears the body of the message and replaces it with the contents of the URL. The contenttype is automaticly set to match the contentype of the URL. The second argument (login and password) is optional --------------------------------------------------------------------------------------- JMail.GetMessageBodyFromURL( " http://duplo.org/" , " login:password" ) It seems to be the forbidden subject that nobody talks about. This is why I figured that maybe I could slip the RecordId inside the second paramenter (bstrAuth). Iye Yie Yie... What a nightmare.. LLL.
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: JMail Question - 7/22/2002 16:35:10
Spooky, Yeah, I' m talking about an HTML bodied email. It seems that nobody knows anything about this. Not even the author of JMail seems to know too much. The manual they created in .pdf form does not offer anymore than what I put in my last posting to you. No examples, no nothing. And my crazy goole search only yielded me simple examples that had nothing to do with this function. But I get HTML emails like this everyday in my in-box. So somebody knows how to use it. They are just not saying. Thanks for your code segment but I ready tried something like that. No luck. But you did give me another idea close to what you sent me. And I am going to try it. If you want to know HOW I finally solve this problem (if I solve it), RESPOND to this email and check the " Notify me via e-mail when someone replies" checkbox. If I solve the problem I will post it here for you to see. Again, thanks for all your help. LLL
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: JMail Question - 7/23/2002 13:36:19
Spooky, Basically, this is what is appearing: " Page cannot be displayed" Here is the exact line I am sending: JMail.GetMessageBodyFromURL(" http://www.quote2quote.com/E5F8A1S4.asp?SID=" & SID, " " ) And I got the page display message above. And I tried this: JMail.GetMessageBodyFromURL(" http://www.quote2quote.com/E5F8A1S4.asp?SID=" & SID) And IT WORKED!!! I guess we cannot use the " " at the end. YOU THE MAN!!! Thanks. LLL
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: JMail Question - 7/24/2002 21:58:22
Spooky, Are you still out there??? I have one more problem. I need to send TWO variables instead of one now. I tried this: JMail.GetMessageBodyFromURL " http://www.quote2quote.com/E5F8A1S4.asp?SID=" & SID & " &Client=" &Client) And it did not work. Do you have any idea how to chain (send) two variables together??? Thanks. LLL
|
|
|
|
Long Island Lune
Posts: 2340 Joined: 6/8/2002 From: New York Status: offline
|
RE: JMail Question - 7/26/2002 0:59:19
NEVER MIND!!!!! I solved the problem. LLL
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|