is there anyway that I can use "mailto" with empty recipient? I only want to supply the subject and the message body and then the user can write the to addresses on mail. I tried writing only a space but it didn't work.
This should do, I tested it.
mailto:?subject=your%20subject&body=your%20body
And as HTML with correct escaping of the ampersand:
test
This should work..
test
I tried the accepted answer but it failed to launch an email when using Chrome. Using a %20 instead of a space worked though:
Send an Email
Related
:)
I searched for any solution but I found nothing. I'd send an email like as follows:
To: Recipient1#domain.com CC: Recipient2#domain.com
but I'd want that Recipient1 does NOT receive the email, while Recipient2 does. In this way, Recipient2 thinks I sent the email also to Recipient1 but, actually, Recipient1 received nothing.
Is it possible?
Thank you very much.
Try adding special characters to the first email address, like a non breaking space, or a similar looking character from another character set, you may find a way to generate a failing address while not really displaying it!
I know it works that way with URL and some spam e-mails...
I have a url in one of my emails for twitter share that looks like:
http://twitter.com/share?text=Praneeta%27s%20test&url=http%3A%2F%2Fwww.mydomain.com%3Fparam1%3D303%26param2%3Dtest&related=praneeta&via=Praneeta
However SendGrid converts only the part before the ' (encoded as %27)
So the url I have in the emails sent is broken and looks like
http://email.mydomain.com/wf/click?upn=<long_encoded_key>%27s%27s%20test&url=http%3A%2F%2Fwww.mydomain.com%3Fparam1%3D303%26param2%3Dtest&related=praneeta&via=Praneeta
Is there a work around for this?
note: If I copy the email html and send it to myself via putsmail, it works fine, it breaks only when it goes via Sendgrid.
I just sent the link you posted through my own SendGrid account and it looks like it was properly encoded. I wonder if this was a temporary issue? What happens if you try sending that link again?
Just a heads up on this issue incase if people stumble on this. The method should be escape for example:
CGI::escape('\'')
I doing a newsletter where I need to pass 2 variables, token and email address to the URL to another website. The problem is that Campaign Monitor makes the URL it into the ShortURL which doesn't work in my situation.
This is how the URL should look like
http://www.example.com/newsletter/index.cfm?token=yes&email=[email]
This is how my Email Link Looks like
<a style="color:#263269;font-size:30px; font-weight:bold;text-decoration:none" href="http://www.example.com/newsletter/index.cfm?token=yes&email=[email]">YES</a>
Please advise me if theirs any alternative solutions for this issue. I cannot seem to find any solutions on the their official website.
Have you tried passing the values from the form and set action to get.
edit: try using ascii value of ampersand & (amp should be lowercase)
try removing the "&" and adding "&"
I am developing in SharePoint and I would like to prepare a mailto command but I would like to send two values to the email and not just one. Normally in html the command works
Email
But in SharePoint I seem to only be able to send the first section after the email#here.com?. Depending on what I position first, I sometimes get the #Body field to go through or the #Title to go through. It appears that for some reason the "&" isn't accepted. I also tried %26 in the place of & with no result.
What is the best method to get both (body and subject) to go through to the mail-client?
Thank you in advance for your time, any guidance will be greatly appeciated
I have read that "aliases" (etc/aliases) can be used to redirect an email to an external email address (or piping it to a script etc.)
It should normally work by putting this command in the "aliases" file:
support: myemail#hotmail.com
Afterwards you have to use the newaliases-command and thats it.
But unfortunately after doing these two steps it doesn't work at all: I don't receive any forwarded email. And there is no error message in the log files as far as I can see.
It would be great if anyone could help me to solve this problem.
Jennifer
Sorry, sendmail wasn't properly configured.
This was the problem... :-/