Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Emma Email Blast, send acutal live webpage

I am looking for some code or something that I can put into an Emma stationary template that will be able to send out acutal URL's and when the email blast is sent out it will show the webpage of the url in the email. Any help would be great. I do not know what language this email blaster is written in though.

Thanks.

Comments

  • CindexCindex Posts: 27Member
    : I am looking for some code or something that I can put into an Emma
    : stationary template that will be able to send out acutal URL's and
    : when the email blast is sent out it will show the webpage of the url
    : in the email. Any help would be great. I do not know what language
    : this email blaster is written in though.
    :
    : Thanks.
    :
    In PHP you could use file_get_contents("path/to/webpage.html") and then use the mail(to, subject, content) to send them a web page. (Only works if the recipient can take HTML code, which many can)

    Example,
    [code]<?php

    $to = "recipient@example.com";

    $subject = "Check out my Webpage!";

    $content = file_get_contents("mypage.html");

    if (mail($to, $subject, $content)) {
    echo("<p>Message successfully sent!");
    }

    else {
    echo("

    Message delivery failed...

    ");
    }

    ?>[/code]
    function Me() {
    str1 = "ActionScript"; str2 = "PHP";
    trace(str1.concat(str2)); }
    Output: Skills.
  • sublime5osublime5o Posts: 4Member
    : : I am looking for some code or something that I can put into an Emma
    : : stationary template that will be able to send out acutal URL's and
    : : when the email blast is sent out it will show the webpage of the url
    : : in the email. Any help would be great. I do not know what language
    : : this email blaster is written in though.
    : :
    : : Thanks.
    : :
    : In PHP you could use file_get_contents("path/to/webpage.html") and
    : then use the mail(to, subject, content) to send them a web page.
    : (Only works if the recipient can take HTML code, which many can)
    :
    : Example,
    : [code]: <?php
    :
    : $to = "recipient@example.com";
    :
    : $subject = "Check out my Webpage!";
    :
    : $content = file_get_contents("mypage.html");
    :
    : if (mail($to, $subject, $content)) {
    : echo("<p>Message successfully sent!");
    : }
    :
    : else {
    : echo("

    Message delivery failed...

    ");
    : }
    :
    : ?>[/code]:
    : function Me() {
    : str1 = "ActionScript"; str2 = "PHP";
    : trace(str1.concat(str2)); }
    : Output: Skills.


    Thanks for your Reply. I tried that out but it didnt render in Emma. And also Emma is built in PHP. Any other thoughts... I wouldnt need the PHP to send out or fail, or send a subject line, just need it to send webpages... Please help. Thanks.
Sign In or Register to comment.